chiark / gitweb /
systemctl: bugfix for systemctl reboot command with argument
authorSangjung Woo <sangjung.woo@samsung.com>
Fri, 23 Jan 2015 11:21:57 +0000 (20:21 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jan 2015 14:30:44 +0000 (09:30 -0500)
commitb986229efe2cc96157aa14c37bab7843311bbef1
tree22693e5f3f3bf6106c8aa7f09123965388350626
parent874d3404cbf2363604106c8f86683db4082691ea
systemctl: bugfix for systemctl reboot command with argument

According to systemctl man page, 'systemctl reboot [arg]' should work
without any errors. However, it does not work because of 'Invalid number
of arguments' error, except for 'reboot [arg]'. This patch fixes the bug
so that both of commands work in exactly the same way.
src/systemctl/systemctl.c