svn commit: r236331 - head/usr.sbin/pc-sysinstall/backend
Josh Paetzel
jpaetzel at FreeBSD.org
Wed May 30 20:49:29 UTC 2012
Author: jpaetzel
Date: Wed May 30 20:49:28 2012
New Revision: 236331
URL: http://svn.freebsd.org/changeset/base/236331
Log:
Fix detecting available zpool names.
Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems
Modified:
head/usr.sbin/pc-sysinstall/backend/functions.sh
Modified: head/usr.sbin/pc-sysinstall/backend/functions.sh
==============================================================================
--- head/usr.sbin/pc-sysinstall/backend/functions.sh Wed May 30 20:44:04 2012 (r236330)
+++ head/usr.sbin/pc-sysinstall/backend/functions.sh Wed May 30 20:49:28 2012 (r236331)
@@ -277,7 +277,7 @@ get_zpool_name()
while :
do
NEWNAME="${BASENAME}${NUM}"
- zpool import | grep -qw "${NEWNAME}" && break
+ zpool import | grep -qw "${NEWNAME}" || break
NUM=$((NUM+1))
done
More information about the svn-src-head
mailing list