From bc1d49917f5bc2d5a9d643a42ad34e5c6ffbf735 Mon Sep 17 00:00:00 2001 From: Stefanie Eckner Date: Sat, 30 Dec 2023 16:32:26 +0100 Subject: client: really log out --- computer-time-limit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3-70-g09d2