diff options
author | tnn <tnn@pkgsrc.org> | 2010-02-11 12:54:27 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-02-11 12:54:27 +0000 |
commit | 009305caa1018c343857f2b7e9412d422aaa55b2 (patch) | |
tree | 99eab6722f976f61edf723ff6ef1eac4d945a764 /pkgtools/pkg_rolling-replace | |
parent | b4df0defaae6e9587b3241d7e998b56be6fa5c6e (diff) | |
download | pkgsrc-009305caa1018c343857f2b7e9412d422aaa55b2.tar.gz |
fix inverted test
Diffstat (limited to 'pkgtools/pkg_rolling-replace')
-rwxr-xr-x | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh index 3e01d8d88f4..056c42681df 100755 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $NetBSD: pkg_rolling-replace.sh,v 1.27 2010/02/11 12:17:23 tnn Exp $ +# $NetBSD: pkg_rolling-replace.sh,v 1.28 2010/02/11 12:54:27 tnn Exp $ #<license> # Copyright (c) 2006 BBN Technologies Corp. All rights reserved. # @@ -287,7 +287,7 @@ abort() error() { - if [ -n "$opt_k" ]; then + if [ -z "$opt_k" ]; then abort "$1" fi echo "*** $1" |