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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"