summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomputer-time-limit1
1 files changed, 1 insertions, 0 deletions
diff --git a/computer-time-limit b/computer-time-limit
index 3e38282..78bb2a1 100755
--- a/computer-time-limit
+++ b/computer-time-limit
@@ -71,6 +71,7 @@ still_logged_in() {
check_time() {
if [ "${noch}" -le 0 ]; then
+ sende_msg stop
loginctl session-status | sed -n 's/ .*$//;1p' | xargs -r loginctl terminate-session
fi
if [ "${noch}" -lt 3600 ] && [ "${noch}" -gt 3540 ]; then