]> err.no Git - systemd/commit
systemctl: don't forward poweroff/reboot requests to logind if time is set or immedia...
authorLennart Poettering <lennart@poettering.net>
Tue, 10 Apr 2012 22:36:44 +0000 (00:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Apr 2012 22:37:35 +0000 (00:37 +0200)
commit7e59bfcb18bcfdb82fa1f197c935bb15a22aa582
treeca6b967fb2378bb600863319be50e82b778ebb55
parentb5936820c7b38aebe02cfc6344a0731979d072a1
systemctl: don't forward poweroff/reboot requests to logind if time is set or immediate or dry-run execution is requested

logind can't handle scheduled poweroff/reboot requests, nor
immediate/dry-run requests, hence don't attempt forwarding to logind if
these options are used.
src/systemctl.c