[PATCH] _require_command: fixed typo

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



fixes 9435b92 common: _require_command needs to handle parameters

Signed-off-by: Omer Zilberberg <omzg@xxxxxxxxxxxxx>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 6ea107e..cd0f3e6 100644
--- a/common/rc
+++ b/common/rc
@@ -1299,7 +1299,7 @@ _require_command()
 	fi
 
 	_command=`echo "$1" | awk '{ print $1 }'`
-	if [ ! -x $command ]; then
+	if [ ! -x $_command ]; then
 		_notrun "$_name utility required, skipped this test"
 	fi
 }
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux