From b59abcb087508ecfe392ad6665784c6ebfc7240d Mon Sep 17 00:00:00 2001 From: Doug Wettlaufer <45750136+dougwettlaufer@users.noreply.github.com> Date: Tue, 16 Feb 2021 14:51:52 -0600 Subject: [PATCH] Check that env var DEVELOPER_MODE is set and 'true' before enabling developer mode (#674) * Check that env var DEVELOPER_MODE is set and 'true' before enabling developer mode * Check for true or 1 for DEVELOPER_MODE in starctl --- starctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starctl b/starctl index a5d007bfc4..40c3d1a138 100755 --- a/starctl +++ b/starctl @@ -132,7 +132,7 @@ if [[ ${#STARGATE_ARGS[@]} -eq 0 ]]; then STARGATE_ARGS+=("--proxy-port" "$PROXY_PORT") fi - if [[ ! -z "$DEVELOPER_MODE" ]]; then + if [[ "$DEVELOPER_MODE" = true ]] || [[ "$DEVELOPER_MODE" = 1 ]]; then STARGATE_ARGS+=("--developer-mode") fi