summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanie Eckner <stefanie@eckner.net>2023-12-30 16:32:26 +0100
committerStefanie Eckner <stefanie@eckner.net>2023-12-30 16:32:26 +0100
commitbc1d49917f5bc2d5a9d643a42ad34e5c6ffbf735 (patch)
treebbc1667461eee80c4b0277343c553a0f8de13f8e
parent88148251fd5d6c7dbe5ccaa2eab12174d3fbbafa (diff)
downloadcomputer-time-limit-bc1d49917f5bc2d5a9d643a42ad34e5c6ffbf735.tar.xz
client: really log out
-rwxr-xr-xcomputer-time-limit2
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'