aboutsummaryrefslogtreecommitdiff
path: root/tests/chattr.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/chattr.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/chattr.test')
-rwxr-xr-xtests/chattr.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chattr.test b/tests/chattr.test
index 067014df..04005a7a 100755
--- a/tests/chattr.test
+++ b/tests/chattr.test
@@ -7,7 +7,7 @@
if [ "$(id -u)" -ne 0 ]
then
echo "$SHOWSKIP: chattr (not root)"
- continue 2>/dev/null
+ return 2>/dev/null
exit
fi