mirror of
https://github.com/systemd/systemd.git
synced 2025-09-01 13:59:26 +03:00
sleep: clarify that failure setting env var is not fatal
This commit is contained in:
@ -236,7 +236,7 @@ static int execute(
|
|||||||
|
|
||||||
r = setenv("SYSTEMD_SLEEP_ACTION", action, 1);
|
r = setenv("SYSTEMD_SLEEP_ACTION", action, 1);
|
||||||
if (r != 0)
|
if (r != 0)
|
||||||
log_warning_errno(errno, "Error setting SYSTEMD_SLEEP_ACTION=%s: %m", action);
|
log_warning_errno(errno, "Error setting SYSTEMD_SLEEP_ACTION=%s, ignoring: %m", action);
|
||||||
|
|
||||||
(void) execute_directories(dirs, DEFAULT_TIMEOUT_USEC, NULL, NULL, arguments, NULL, EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS);
|
(void) execute_directories(dirs, DEFAULT_TIMEOUT_USEC, NULL, NULL, arguments, NULL, EXEC_DIR_PARALLEL | EXEC_DIR_IGNORE_ERRORS);
|
||||||
(void) lock_all_homes();
|
(void) lock_all_homes();
|
||||||
|
Reference in New Issue
Block a user