summaryrefslogtreecommitdiff
path: root/src/machine/machinectl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-23 01:15:08 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-23 01:17:55 +0100
commit56e6c2abb8f18bba2bb9d96d66ac7e633349ddfb (patch)
tree2ed27daf14f3fb0f48f6bccf44c9a46ec37568ca /src/machine/machinectl.c
parent6cd37a5e59e01f4a2b3f02d9746b3e7417d424e6 (diff)
machinectl: fix handling of --verify= argument for dkr downloads
Diffstat (limited to 'src/machine/machinectl.c')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 5a42f26eaf..95acc9315e 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -2000,7 +2000,7 @@ static int pull_dkr(int argc, char *argv[], void *userdata) {
sd_bus *bus = userdata;
int r;
- if (!streq_ptr(arg_dkr_index_url, "no")) {
+ if (arg_verify != IMPORT_VERIFY_NO) {
log_error("Imports from DKR do not support image verification, please pass --verify=no.");
return -EINVAL;
}