Date: Sat, 2 Jun 2012 18:22:38 +0000 (UTC) From: Josh Paetzel <jpaetzel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r236458 - stable/9/usr.sbin/pc-sysinstall/backend Message-ID: <201206021822.q52IMcaU004892@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jpaetzel Date: Sat Jun 2 18:22:38 2012 New Revision: 236458 URL: http://svn.freebsd.org/changeset/base/236458 Log: MFC 236331 Fix detecting available zpool names. Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems Modified: stable/9/usr.sbin/pc-sysinstall/backend/functions.sh Directory Properties: stable/9/usr.sbin/pc-sysinstall/ (props changed) Modified: stable/9/usr.sbin/pc-sysinstall/backend/functions.sh ============================================================================== --- stable/9/usr.sbin/pc-sysinstall/backend/functions.sh Sat Jun 2 18:13:53 2012 (r236457) +++ stable/9/usr.sbin/pc-sysinstall/backend/functions.sh Sat Jun 2 18:22:38 2012 (r236458) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206021822.q52IMcaU004892>