]> err.no Git - systemd/commit
shutdown: respect the dry run option '-k'
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 2 Jul 2011 21:09:59 +0000 (23:09 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Sat, 2 Jul 2011 22:12:16 +0000 (00:12 +0200)
commit52c002150a34c07a59369ee952bcd3a1f8f316ca
tree8bf5fb00378c1d38e5a5a31abfa46626941cdb67
parent1a63987788624a8819b94b199aa6748665f5e957
shutdown: respect the dry run option '-k'

Don't do the actual power-off/reboot when '-k' is passed to shutdown.

Related to: https://bugzilla.redhat.com/show_bug.cgi?id=624149
src/shutdownd.c
src/shutdownd.h
src/systemctl.c