diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-13 17:38:16 +0100 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2017-01-15 13:57:14 +0800 |
commit | 600b4b2bba42217cc5d18319b5b65b1ced798273 (patch) | |
tree | d1e5036ab08589ed7b73e285d693d9cddad4494e | |
parent | 81b0eded2ee52ec371af7ddb6c679ee221302cd1 (diff) | |
download | xfstests-dev-600b4b2bba42217cc5d18319b5b65b1ced798273.tar.gz |
common/rc: use /bin/bash in _user_do()
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>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | common/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |