mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-05 05:01:29 +00:00
committed by
Colin Guthrie
parent
924df1ee06
commit
fdaa623f62
+1
-1
@@ -90,7 +90,7 @@ static int execute(char **modes, char **states) {
|
||||
const char* note = strappenda("SLEEP=", arg_verb);
|
||||
|
||||
/* This file is opened first, so that if we hit an error,
|
||||
* we can abort before modyfing any state. */
|
||||
* we can abort before modifying any state. */
|
||||
f = fopen("/sys/power/state", "we");
|
||||
if (!f) {
|
||||
log_error("Failed to open /sys/power/state: %m");
|
||||
|
||||
Reference in New Issue
Block a user