From e727053fca2c87016eaf5ad08a86890f1cc9453f Mon Sep 17 00:00:00 2001 From: Stefanie Eckner Date: Sat, 16 Mar 2024 12:15:15 +0100 Subject: fix bug: swapped key file and user --- computer-time-limit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computer-time-limit b/computer-time-limit index f891f25..fa2eae3 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -54,7 +54,7 @@ wie_lange_noch() { check_time() { if [ "${noch}" -le 0 ]; then - sende_msg stop "$1" >/dev/null + sende_msg stop "$2" >/dev/null loginctl session-status | sed -n 's/ .*$//;1p' | xargs -r loginctl terminate-session fi if [ "${noch}" -lt 3630 ] && [ "${noch}" -gt 3570 ]; then -- cgit v1.2.3-70-g09d2