[PC-BSD Commits] r18078 - pcbsd/current/src-sh/warden/scripts/backend
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 1 11:48:06 PDT 2012
Author: kris
Date: 2012-08-01 18:48:06 +0000 (Wed, 01 Aug 2012)
New Revision: 18078
Modified:
pcbsd/current/src-sh/warden/scripts/backend/functions.sh
Log:
Improve how we check for ZFS mount-points
Modified: pcbsd/current/src-sh/warden/scripts/backend/functions.sh
===================================================================
--- pcbsd/current/src-sh/warden/scripts/backend/functions.sh 2012-08-01 18:32:08 UTC (rev 18077)
+++ pcbsd/current/src-sh/warden/scripts/backend/functions.sh 2012-08-01 18:48:06 UTC (rev 18078)
@@ -245,7 +245,7 @@
while :
do
# Is this dir a ZFS mount
- mount | grep -w "$_chkDir" | grep -qw "(zfs," && return 0
+ mount | grep -w "on $_chkDir " | grep -qw "(zfs," && return 0
# Quit if not walking down
if [ "$2" = "1" ] ; then return 1 ; fi
More information about the Commits
mailing list