aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bar.sh')
-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