From aff8b34f803054fcad66eff941a67d26d3950b9f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 23 Mar 2024 09:05:37 +0100 Subject: computer-time-limit: terminate the correct thing --- computer-time-limit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computer-time-limit b/computer-time-limit index f214f99..8ca0515 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -55,7 +55,7 @@ wie_lange_noch() { check_time() { if [ "${noch}" -le 0 ]; then sende_msg stop "$2" >/dev/null - loginctl terminate-session "$1" + loginctl terminate-user "$1" fi if [ "${noch}" -lt 3630 ] && [ "${noch}" -gt 3570 ]; then espeak-ng -vde -w /tmp/stunde.wav 'noch eine Stunde' -- cgit v1.2.3-54-g00ecf