aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 15:38:53 +0000
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 15:38:53 +0000
commitc902c352f33332dcfe22a32845cc94d31bead9db (patch)
tree7a42e86d4f46803385e4dbf1c168fdcb5e749091
parent74919c4d9c960a48603830a8b32b0236a3afaa52 (diff)
Sometimes I can be so dumb
-rwxr-xr-xbar.sh2
1 files changed, 1 insertions, 1 deletions
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