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