diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-05-30 08:45:21 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-05-30 15:51:48 +0200 |
commit | 61fbc58c46fd7776ab6cf33d3bb91c0f15136dc2 (patch) | |
tree | 1128b07db7f08243411b90687eb0d90d163c0af6 /src/sleep | |
parent | bus-unit-util: rework UnitFreezer, explicitly thaw unit (diff) | |
download | systemd-61fbc58c46fd7776ab6cf33d3bb91c0f15136dc2.tar.xz systemd-61fbc58c46fd7776ab6cf33d3bb91c0f15136dc2.zip |
sleep,home: clean up logs for session freezer a bit
Diffstat (limited to 'src/sleep')
-rw-r--r-- | src/sleep/sleep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 1911ef256e..0402bb07f3 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -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) { |