summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortnn <tnn>2010-02-11 12:54:27 +0000
committertnn <tnn>2010-02-11 12:54:27 +0000
commitb00ef30d5f8ee8f5a786e791d88671af80666081 (patch)
tree99eab6722f976f61edf723ff6ef1eac4d945a764 /pkgtools
parenta670c88e099eb8605581d1342efb61d5eb7c240a (diff)
downloadpkgsrc-b00ef30d5f8ee8f5a786e791d88671af80666081.tar.gz
fix inverted test
Diffstat (limited to 'pkgtools')
-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"