Skip to contentSkip to conversation

common/rc: fix _require_xfs_io_command utimes check

PATCH New Baihua Lu 1 participant 1 message Oct 28, 2019

lore
Share & tools
lore

Baihua Lu

author
#0 lore raw

PATCH 1/1 common/rc: fix _require_xfs_io_command utimes check

There is an error on checking utimes command. Put quotation mark after four "0".

---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/rc +1 -1
index a29bd780..aeac903b 100644
@@ -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
Signature · 1 line
2.17.1