diff --git a/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc b/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc index 648dd577c..b484cc586 100755 --- a/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc +++ b/xCAT-server/share/xcat/netboot/add-on/autogpfs/autogpfsc @@ -57,7 +57,7 @@ case "$1" in awk '{print $2}' ) do - mount | grep "\b/$1\b" >/dev/null 2>&1 + mount | grep "\b$i\b" >/dev/null 2>&1 if [ "$?" != "0" ] then DOBLOCK=yes