sleep,home: clean up logs for session freezer a bit

This commit is contained in:
Mike Yuan
2024-05-30 21:51:48 +08:00
parent 12904d5387
commit 61fbc58c46
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -606,10 +606,9 @@ static int run(int argc, char *argv[]) {
if (r != 0)
(void) unit_freezer_new_freeze(SPECIAL_USER_SLICE, &user_slice_freezer);
else
log_notice("User sessions remain unfrozen on explicit request "
"($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS is set to false). This is not recommended, "
"and might result in unexpected behavior, particularly in suspend-then-hibernate "
"operations or setups with encrypted home directories.");
log_notice("User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).\n"
"This is not recommended, and might result in unexpected behavior, particularly\n"
"in suspend-then-hibernate operations or setups with encrypted home directories.");
switch (arg_operation) {