summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/populate6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/populate b/bin/populate
index 78d4b78..8163ccd 100755
--- a/bin/populate
+++ b/bin/populate
@@ -12,11 +12,11 @@ main() {(
target_spec=
- fail=true
+ abort=false
error() {
echo "$basename: error: $1" >&2
- fail=false
+ abort=true
}
for arg; do
@@ -41,7 +41,7 @@ main() {(
error 'no target specified'
fi
- if test "$fail" != true; then
+ if test "$abort" = true; then
exit 11
fi