Skip to content
Commit ee4cb761 authored by Alan Jenkins's avatar Alan Jenkins Committed by Zbigniew Jędrzejewski-Szmek
Browse files

logind: tighten assertion in execute_shutdown_or_sleep()

Following commit b498d6ea, I belated realized we should tighten the
assertions as well, to make sure that we're setting `m->action_what` to
represent an action in progress.  (The check for an action in progress is
to compare `m->action_what` to zero)

(cherry picked from commit b61fa4e0)
parent 1e3b4e30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment