From c902c352f33332dcfe22a32845cc94d31bead9db Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Wed, 6 Nov 2019 15:38:53 +0000 Subject: [PATCH] Sometimes I can be so dumb --- bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bar.sh b/bar.sh index f68571e..86d12f0 100755 --- a/bar.sh +++ b/bar.sh @@ -55,7 +55,7 @@ run_module() run() { for module in $MODULES; do - [[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module" + [[ ! -f "$OUTPUT_CACHE$module" ]] && touch "$OUTPUT_CACHE$module" pgrep $module &> /dev/null notrunning=$([[ $? -eq 1 ]]) if $notrunning && [[ $INTERNET -eq 0 ]]; then