From 5c3ac511bc6eac3b5fdbdebd896f85a25c7e1563 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Wed, 13 Jul 2016 16:43:58 +0000 Subject: [PATCH] Use exit instead of return --- scope | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scope b/scope index 1101a667b..18679a06b 100755 --- a/scope +++ b/scope @@ -210,7 +210,7 @@ EOF create_plugins_dir if check_probe_only ; then launch "$@" - return + exit fi # Docker for Mac (as of beta9) does not ship vmnet driver and # thereby only access container ports via a tunnel, preventing @@ -226,7 +226,7 @@ EOF docker rm -f $SCOPE_CONTAINER_NAME >/dev/null 2>&1 || true CONTAINER=$($(launch_command --no-app "$@" "${app_ip}:4040")) print_app_endpoints "localhost" - return + exit fi launch "$@"