Date: Mon, 11 Feb 2013 14:32:07 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r246680 - projects/portbuild/admin/tools Message-ID: <201302111432.r1BEW7FW028019@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon (doc,ports committer) Date: Mon Feb 11 14:32:06 2013 New Revision: 246680 URL: http://svnweb.freebsd.org/changeset/base/246680 Log: Fix sense of the test. It is the opposite of the others. Modified: projects/portbuild/admin/tools/newmkportbuild Modified: projects/portbuild/admin/tools/newmkportbuild ============================================================================== --- projects/portbuild/admin/tools/newmkportbuild Mon Feb 11 14:30:06 2013 (r246679) +++ projects/portbuild/admin/tools/newmkportbuild Mon Feb 11 14:32:06 2013 (r246680) @@ -67,7 +67,7 @@ if [ -z "${name}" ]; then fi mounted=`zfs list -H -t filesystem -o mounted ${ZFS_VOLUME}` -if [ -z "${mounted}" -o "${mounted}" = "no" ]; then +if [ ! -z "${mounted}" -a "${mounted}" != "no" ]; then echo "ZFS volume ${ZFS_VOLUME} is mounted. I'll unmount it for you then remount it later." zfs umount ${ZFS_VOLUME} 2> /dev/null fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302111432.r1BEW7FW028019>