From f2a0737ea9568224e21b3dc7a54b6239ef89f849 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 15 Feb 2018 00:02:40 +0800 Subject: [PATCH] Use "exit" instead of "continue" to exit subshell in update.sh --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index d5f62056..fe290a64 100755 --- a/update.sh +++ b/update.sh @@ -55,7 +55,7 @@ function update_node_version { for version in "${versions[@]}"; do { # Skip "docs" and other non-docker directories - [ -f "$version/Dockerfile" ] || continue + [ -f "$version/Dockerfile" ] || exit info "Updating version $version..."