common/rc: fix _require_xfs_io_command utimes check
diff mbox series

Message ID 20191028075659.38940-1-lubaihua0331@gmail.com
State New
Headers show
Series
  • common/rc: fix _require_xfs_io_command utimes check
Related show

Commit Message

Baihua Lu Oct. 28, 2019, 7:56 a.m. UTC
There is an error on checking utimes command. Put quotation mark after four "0".

Signed-off-by: Baihua Lu <lubaihua0331@gmail.com>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/common/rc b/common/rc
index a29bd780..aeac903b 100644
--- a/common/rc
+++ b/common/rc
@@ -2184,7 +2184,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