aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 15:37:40 +0000
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 15:37:40 +0000
commit74919c4d9c960a48603830a8b32b0236a3afaa52 (patch)
tree3a6a3b615ca59794650f399c8431c811869f6a1d
parentbca3611d2bff6848f699eb915e69734f5c15fc7d (diff)
Creates cache files straight away
-rwxr-xr-xbar.sh1
1 files changed, 1 insertions, 0 deletions
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