diff options
Diffstat (limited to 'src/login/logind-action.c')
-rw-r--r-- | src/login/logind-action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-action.c b/src/login/logind-action.c index 0426acbfc..497164e41 100644 --- a/src/login/logind-action.c +++ b/src/login/logind-action.c @@ -118,6 +118,8 @@ int manager_handle_action( supported = can_sleep(m, "hibernate") > 0; else if (handle == HANDLE_HYBRID_SLEEP) supported = can_sleep(m, "hybrid-sleep") > 0; + else if (handle == HANDLE_SUSPEND_THEN_HIBERNATE) + supported = can_sleep(m, "suspend-then-hibernate") > 0; #endif // 0 else if (handle == HANDLE_KEXEC) supported = access(KEXEC, X_OK) >= 0; |