aboutsummaryrefslogtreecommitdiff
path: root/tests/sh.test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-01-07 16:41:53 -0800
committerRob Landley <rob@landley.net>2019-01-07 19:26:24 -0600
commitbfbdd4a2db0c65a917a88746a93ec5ae9d378063 (patch)
tree5580cc6d359090a8bf66ff46612b30d1c65367fa /tests/sh.test
parente95778682ac4d2f71781ac39a83f9346861b3675 (diff)
downloadtoybox-bfbdd4a2db0c65a917a88746a93ec5ae9d378063.tar.gz
Use `return` rather than `continue` to make bash 4.4 happy.
Otherwise we get this error: continue: only meaningful in a 'for', 'while', or 'until' loop
Diffstat (limited to 'tests/sh.test')
-rwxr-xr-xtests/sh.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sh.test b/tests/sh.test
index 1d228dcf..875a0df8 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -7,7 +7,7 @@
if [ -z "$(which bash)" ]
then
echo "$SHOWSKIP: no bash alias"
- continue 2>/dev/null
+ return 2>/dev/null
exit
fi