From 11c088c6173536f39c74c2579c2b8ea6e2c43119 Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Wed, 23 Oct 2024 22:23:35 -0400 Subject: [PATCH] Fixed missing group option and variable --- battery-suspend.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battery-suspend.sh b/battery-suspend.sh index 5289a0e..cbabd46 100755 --- a/battery-suspend.sh +++ b/battery-suspend.sh @@ -48,7 +48,7 @@ minutes=$(echo "scale=2; $hours * 60" | bc) minimum= if (( $(echo "$minutes < $minimum" | bc -l) )); then - echo "Suspending the computer! Battery charge is needed!" | wall + echo "Suspending the computer! Battery charge is needed!" | wall -g $group sleep 3 systemctl suspend fi