chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Mon, 25 Sep 2017 12:31:35 +0000 (14:31 +0200)
commitaaf612724cb34042a50589e842c8d577f6789f25
tree9d5ba7c16e4fea44044823c34699380b6b4571f9
parent13eeee94439dedda3f3848411b1cec5554176dea
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