mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
machinectl: fix handling of --verify= argument for dkr downloads
This commit is contained in:
parent
6cd37a5e59
commit
56e6c2abb8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user