From 74919c4d9c960a48603830a8b32b0236a3afaa52 Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Wed, 6 Nov 2019 15:37:40 +0000 Subject: [PATCH] Creates cache files straight away --- bar.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bar.sh b/bar.sh index 5848966..f68571e 100755 --- a/bar.sh +++ b/bar.sh @@ -55,6 +55,7 @@ run_module() run() { for module in $MODULES; do + [[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module" pgrep $module &> /dev/null notrunning=$([[ $? -eq 1 ]]) if $notrunning && [[ $INTERNET -eq 0 ]]; then