projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd37a5
)
machinectl: fix handling of --verify= argument for dkr downloads
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Jan 2015 00:15:08 +0000
(
01:15
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Jan 2015 00:17:55 +0000
(
01:17
+0100)
src/machine/machinectl.c
patch
|
blob
|
history
diff --git
a/src/machine/machinectl.c
b/src/machine/machinectl.c
index
5a42f26
..
95acc93
100644
(file)
--- 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;
}