aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bar.sh')
-rwxr-xr-xbar.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bar.sh b/bar.sh
index 86d12f0..1a98bf1 100755
--- a/bar.sh
+++ b/bar.sh
@@ -46,7 +46,9 @@ run_module()
out="$($DEFAULT_MODULES_DIR$1)"
fi
- if [[ ! "$out" = "" ]]; then
+ if [[ "$out" = " " ]]; then
+ echo " " > "$OUTPUT_CACHE$module"
+ elif [[ ! "$out" = "" ]]; then
out="$out$SEPARATOR."
echo "$out" > "$OUTPUT_CACHE$module"
fi