From 399c2e25188104387bc8e9723f991955fe76806d Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 15 Dec 2017 04:37:24 +0100 Subject: main: fail -> abort --- bin/populate | 6 +++--- 1 file 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 -- cgit v1.2.3