diff options
author | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 16:32:26 +0100 |
---|---|---|
committer | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 16:32:26 +0100 |
commit | bc1d49917f5bc2d5a9d643a42ad34e5c6ffbf735 (patch) | |
tree | bbc1667461eee80c4b0277343c553a0f8de13f8e | |
parent | 88148251fd5d6c7dbe5ccaa2eab12174d3fbbafa (diff) | |
download | computer-time-limit-bc1d49917f5bc2d5a9d643a42ad34e5c6ffbf735.tar.xz |
client: really log out
-rwxr-xr-x | computer-time-limit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit b/computer-time-limit index 0a170ed..a872d01 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -66,7 +66,7 @@ still_logged_in() { check_time() { if [ "${noch}" -le 0 ]; then - loginctl session-status | sed -n 's/ .*$//;1p' | xargs -r echo loginctl terminate-session + loginctl session-status | sed -n 's/ .*$//;1p' | xargs -r loginctl terminate-session fi if [ "${noch}" -lt 3600 ] && [ "${noch}" -gt 3540 ]; then espeak-ng -vde -w /tmp/stunde.wav 'noch eine Stunde' |