Explorar o código

Fix unknown flag: --no-dev issue

Ranger Chan %!s(int64=2) %!d(string=hai) anos
pai
achega
b5a13b4c59
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compose/bin/start

+ 1 - 1
compose/bin/start

@@ -6,7 +6,7 @@ MEM=$(docker info | grep "Total Memory" | cut -d':' -f2 | xargs | sed s/GiB//)
 (( $(echo "$MEM < 5.7" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
 
 if [ "$1" == "--no-dev" ]; then
-  bin/docker-compose --no-dev up -d --remove-orphans "$@"
+  bin/docker-compose --no-dev up -d --remove-orphans "${@:2}"
   exit $?
 fi