summaryrefslogtreecommitdiff
path: root/vsvs-parse
diff options
context:
space:
mode:
Diffstat (limited to 'vsvs-parse')
-rw-r--r--vsvs-parse4
1 files changed, 2 insertions, 2 deletions
diff --git a/vsvs-parse b/vsvs-parse
index 2992136..27e51a4 100644
--- a/vsvs-parse
+++ b/vsvs-parse
@@ -9,9 +9,9 @@ do
if test -z "${line%% *}"
then value="${value}"$'\n'"$(after " " "$line")"
else
- test -z "$key" && eval $1
+ test -n "$key" && eval $1
key="${line%% *}"
value="$(after " " "$line")"
fi
done
-test -z "$key" && eval $1
+test -n "$key" && eval $1