diff options
author | Elliott Hughes <enh@google.com> | 2019-01-07 16:41:53 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-07 19:26:24 -0600 |
commit | bfbdd4a2db0c65a917a88746a93ec5ae9d378063 (patch) | |
tree | 5580cc6d359090a8bf66ff46612b30d1c65367fa /tests/sh.test | |
parent | e95778682ac4d2f71781ac39a83f9346861b3675 (diff) | |
download | toybox-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-x | tests/sh.test | 2 |
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 |