[PATCH] common/rc: use /bin/bash in _user_do()

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



Without this the epressions in generic/256 will fail on a system
where /bin/sh is the Default (e.g. modern Debian versions).

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 37d0fc8..63cabfd 100644
--- a/common/rc
+++ b/common/rc
@@ -1809,7 +1809,7 @@ _user_do()
 	then
 	echo $1 | /bin/bash "su $qa_user 2>&1" | _filter_user_do
     else
-	echo $1 | su $qa_user 2>&1 | _filter_user_do
+	echo $1 | su -s /bin/bash $qa_user 2>&1 | _filter_user_do
     fi
 }
 
-- 
2.1.4

--
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