chiark / gitweb /
systemctl: don't update the reboot parameter if none is given
authorMichael Olbrich <m.olbrich@pengutronix.de>
Sun, 8 Feb 2015 19:29:50 +0000 (20:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Feb 2015 19:37:16 +0000 (20:37 +0100)
commitc31c4324c5120d9b38f8a5e39623c8242ee001e0
treee173042a535ba7e5a15cee4301a18a8ce5770669
parent418761f5864fe1ae7e9bb884259cc9933ae8ad0c
systemctl: don't update the reboot parameter if none is given

Otherwise systemd-reboot.service will remove the parameter that was set
before. This was broken in commit "b986229efe2cc96157aa14c37bab7843311bbef1
systemctl: bugfix for systemctl reboot command with argument"
src/systemctl/systemctl.c