chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6054f
)
hostnamectl: fix parsing of --no-ask-password
author
Lennart Poettering
<lennart@poettering.net>
Thu, 15 Nov 2012 21:47:04 +0000
(22:47 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 15 Nov 2012 22:07:25 +0000
(23:07 +0100)
src/hostname/hostnamectl.c
patch
|
blob
|
history
diff --git
a/src/hostname/hostnamectl.c
b/src/hostname/hostnamectl.c
index b7ae5ccc6c2877bc58ceb1dd2ed0ff33cb3b81ee..265c7ecbfe6ccc1c2bf14b1bcce03737cd2979ca 100644
(file)
--- a/
src/hostname/hostnamectl.c
+++ b/
src/hostname/hostnamectl.c
@@
-403,6
+403,10
@@
static int parse_argv(int argc, char *argv[]) {
arg_set_static = true;
break;
+ case ARG_NO_ASK_PASSWORD:
+ arg_ask_password = false;
+ break;
+
case '?':
return -EINVAL;