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/reset | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/reset') diff --git a/core/reset b/core/reset index a4c245e..b3342c2 100755 --- a/core/reset +++ b/core/reset @@ -2,9 +2,11 @@ [ "$1" = "info" ] && echo "reset the timer and lap counter" && exit 2 lap=0 -state='reset' +running=0 update_time=1 +original_state='foo' # prevent loading of state on disk + . "$core_path/update" save_state -- cgit v1.2.3