summaryrefslogtreecommitdiff
path: root/bin/hstow
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hstow')
-rwxr-xr-xbin/hstow2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hstow b/bin/hstow
index 9f34add6..d263fac3 100755
--- a/bin/hstow
+++ b/bin/hstow
@@ -47,7 +47,7 @@ fi
disjoin_hstow_file () {
if [ -e "$DIR/$1" ]; then
while read -r line; do
- printf "|$2" "$line"
+ [ -n "$line" ] && printf "|$2" "$line"
done <"$DIR/$1" | cut -c2-
fi
}