diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-29 15:17:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-29 15:49:05 +0100 |
commit | d152dd467afe0eacb322900ea7f91946c55c40e9 (patch) | |
tree | 6b9e48c323d1ece60f1c950c7c591c117ed2f7db /src/systemctl | |
parent | 1e726cc963016b91dfe3bb31319dec652f3b6f3a (diff) | |
download | systemd-d152dd467afe0eacb322900ea7f91946c55c40e9.tar.gz |
systemctl: actually honour the try-reload-or-restart verb aabf5d4243408 promised
The verb entry got lost in the ultimate commit.
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 1dab97678b..078c1b5ea4 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7340,7 +7340,8 @@ static int systemctl_main(int argc, char *argv[]) { { "restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, { "try-restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, { "reload-or-restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, - { "reload-or-try-restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, + { "reload-or-try-restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, /* For compatbility with old systemctl <= 228 */ + { "try-reload-or-restart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, { "force-reload", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, /* For compatibility with SysV */ { "condreload", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, /* For compatibility with ALTLinux */ { "condrestart", 2, VERB_ANY, VERB_NOCHROOT, start_unit }, /* For compatibility with RH */ |