From 6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818 Mon Sep 17 00:00:00 2001
From: Joe <rbo@gmx.us>
Date: Tue, 24 Dec 2024 21:29:43 +0100
Subject: up

---
 .local/bin/status/sb-cpu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to '.local/bin/status/sb-cpu')

diff --git a/.local/bin/status/sb-cpu b/.local/bin/status/sb-cpu
index f6eaa92..45def29 100755
--- a/.local/bin/status/sb-cpu
+++ b/.local/bin/status/sb-cpu
@@ -15,7 +15,7 @@ case $(hostname -s) in
 		top -b -d 0.1 -n 1 | grep "Cpu(s)" | \
            sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | \
            awk '{print int(100 - $1)"%"}'
-		return
+		exit
 		;;
 	mars)
 		stats=$(top -d 2 -s 0.2 | grep -E 'load averages:|^CPU')
-- 
cgit v1.2.3