Explorar o código

change 'return 1' to 'exit 1'

Nathaniel Mom %!s(int64=2) %!d(string=hai) anos
pai
achega
df17e6b75e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      helper-scripts/update_compose.sh

+ 1 - 1
helper-scripts/update_compose.sh

@@ -50,7 +50,7 @@ echo -e "\e[32mTrying to determine GLIBC version...\e[0m"
             exit 0
             exit 0
         else
         else
             echo -e "\e[33mWARNING: $COMPOSE_PATH is not writable, but new version $LATEST_COMPOSE is available (installed: $COMPOSE_VERSION)\e[0m"
             echo -e "\e[33mWARNING: $COMPOSE_PATH is not writable, but new version $LATEST_COMPOSE is available (installed: $COMPOSE_VERSION)\e[0m"
-            return 1
+            exit 1
         fi
         fi
         fi
         fi
     else
     else