chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
analyze: share code to read a string array from sd-bus
[elogind.git]
/
src
/
login
/
logind-action.c
diff --git
a/src/login/logind-action.c
b/src/login/logind-action.c
index c930591023f0cfb06a78d8f6cb8d4aee30a14cf4..74114ee0a126aede7f2dc48a137ba44b138d7fc8 100644
(file)
--- a/
src/login/logind-action.c
+++ b/
src/login/logind-action.c
@@
-81,7
+81,7
@@
int manager_handle_action(
else if (handle == HANDLE_HYBRID_SLEEP)
supported = can_sleep("hybrid-sleep") > 0;
else if (handle == HANDLE_KEXEC)
- supported = access(
"/sbin/kexec"
, X_OK) >= 0;
+ supported = access(
KEXEC
, X_OK) >= 0;
else
supported = true;