aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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