fix inverted test

This commit is contained in:
tnn 2010-02-11 12:54:27 +00:00
parent 2d93a69cf8
commit abc7c42575

View file

@ -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"