From 03e617b64a446e6d63f6e92126766874f21b5352 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 12 Mar 2024 10:53:38 +0100 Subject: use file instead of folder to store state --- core/toggle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/toggle') diff --git a/core/toggle b/core/toggle index bfb96d2..54dcc8d 100755 --- a/core/toggle +++ b/core/toggle @@ -3,5 +3,5 @@ . "$core_path/update" -[ "$state" = 'running' ] && exec "$prog" pause || exec "$prog" start +[ $running -eq 1 ] && exec "$prog" pause || exec "$prog" start -- cgit v1.2.3