common/rc: fix _require_xfs_io_command utimes check
authorBaihua Lu <lubaihua0331@gmail.com>
Thu, 31 Oct 2019 01:25:53 +0000 (01:25 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sat, 2 Nov 2019 05:55:08 +0000 (13:55 +0800)
There is an error on checking utimes command. Put quotation mark
after four "0".

Signed-off-by: Baihua Lu <lubaihua0331@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc

index a2a28f321ad6e4d0366c4c9527085924b78347c8..657d05d36d9968e3c96e11909b71df115f9e57b3 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -2186,7 +2186,7 @@ _require_xfs_io_command()
                        _notrun "xfs_io $command support is missing"
                ;;
        "utimes" )
-               testio=`$XFS_IO_PROG -f -c "utimes" 0 0 0 0 $testfile 2>&1`
+               testio=`$XFS_IO_PROG -f -c "utimes 0 0 0 0" $testfile 2>&1`
                ;;
        "syncfs")
                touch $testfile