summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_rolling-replace
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-02-11 12:54:27 +0000
committertnn <tnn@pkgsrc.org>2010-02-11 12:54:27 +0000
commit009305caa1018c343857f2b7e9412d422aaa55b2 (patch)
tree99eab6722f976f61edf723ff6ef1eac4d945a764 /pkgtools/pkg_rolling-replace
parentb4df0defaae6e9587b3241d7e998b56be6fa5c6e (diff)
downloadpkgsrc-009305caa1018c343857f2b7e9412d422aaa55b2.tar.gz
fix inverted test
Diffstat (limited to 'pkgtools/pkg_rolling-replace')
-rwxr-xr-xpkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh4
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"