aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bar.sh')
-rwxr-xr-xbar.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bar.sh b/bar.sh
index 925615a..534ae87 100755
--- a/bar.sh
+++ b/bar.sh
@@ -45,8 +45,10 @@ run_module()
out="$($MODULES_DIR$1)"
fi
- [[ ! "$out" = "" ]] && out="$out$SEPARATOR."
- echo "$out" > "$OUTPUT_CACHE$module"
+ if [[ ! "$out" = "" ]]; then
+ out="$out$SEPARATOR."
+ echo "$out" > "$OUTPUT_CACHE$module"
+ fi
}
run()