Selaa lähdekoodia

Опечатки в docker-entrypoint.sh

wadim 7 vuotta sitten
vanhempi
commit
37e2144d60
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      docker-entrypoint.sh

+ 2 - 1
docker-entrypoint.sh

@@ -15,10 +15,11 @@ sed -i "s/communication = \"remote\"/communication = \"socket\"/" /etc/web-regis
 
 
 echo "#Dummy" >> /etc/rc.d/init.d/functions
 echo "#Dummy" >> /etc/rc.d/init.d/functions
 source /etc/init.d/web-registry-portal status
 source /etc/init.d/web-registry-portal status
+echo "CMD is ${$@}"
 
 
 if [ ! -z "$@" ]
 if [ ! -z "$@" ]
 then
 then
     exec "$@"
     exec "$@"
 else
 else
-    exec "${WEB_REGISTRY_BIN} ${WEB_REGISTRY_OPTS}"
+    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_OPTS}
 fi
 fi