From bfbdd4a2db0c65a917a88746a93ec5ae9d378063 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 7 Jan 2019 16:41:53 -0800 Subject: 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 --- tests/hostname.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hostname.test') diff --git a/tests/hostname.test b/tests/hostname.test index 80f94405..ba65a398 100755 --- a/tests/hostname.test +++ b/tests/hostname.test @@ -10,7 +10,7 @@ testing "get" "hostname" "$HOST\n" "" "" if [ "$(id -u)" -ne 0 ] then echo "$SHOWSKIP: groupdel (not root)" - continue 2>/dev/null + return 2>/dev/null exit fi -- cgit v1.2.3