diff --git a/common.rc b/common.rc index 67c2488d..d3c2a0c0 100644 --- a/common.rc +++ b/common.rc @@ -635,7 +635,7 @@ _xfs_mounted() device=$1 - if _mount | grep $device | $AWK_PROG ' + if _mount | grep "$device " | $AWK_PROG ' /type xfs/ { print $3 ; exit 0 } END { exit 1 } '