logind: method_schedule_shutdown() already rejects empty `type`
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 22 Aug 2017 12:54:21 +0000 (13:54 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 24 Aug 2017 11:42:17 +0000 (12:42 +0100)
commitf8169e62dfc9ea903bc880064a5d384cdc68db3e
tree908c54901cc829b3ad1f81a6a0b6a0a120e64841
parentcbc373502f1d6e2df01e43538006e31975f555ec
logind: method_schedule_shutdown() already rejects empty `type`

Don't test for an empty `type` afterwards.  This is not how you cancel
scheduled shutdowns - there's a separate method for that.
src/login/logind-dbus.c