* [PATCH] common/rc: use /bin/bash in _user_do()
@ 2017-01-13 16:38 Christoph Hellwig
2017-01-15 5:57 ` Eryu Guan
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2017-01-13 16:38 UTC (permalink / raw)
To: fstests
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@lst.de>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-15 5:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-13 16:38 [PATCH] common/rc: use /bin/bash in _user_do() Christoph Hellwig
2017-01-15 5:57 ` Eryu Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox