From 56e6c2abb8f18bba2bb9d96d66ac7e633349ddfb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Jan 2015 01:15:08 +0100 Subject: [PATCH] machinectl: fix handling of --verify= argument for dkr downloads --- src/machine/machinectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 5a42f26ea..95acc9315 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; } -- 2.30.2