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