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/chattr.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/chattr.test') 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 -- cgit v1.2.3