瀏覽代碼

Модификация docker-entrypoint.sh

wadim 7 年之前
父節點
當前提交
bce44d6430
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -17,7 +17,7 @@ echo "#Dummy" >> /etc/rc.d/init.d/functions
 source /etc/init.d/web-registry-portal status
 echo "CMD is $@"
 
-if [ ! -z "$@" ]
+if [ ! -z "$*" ]
 then
     exec "$@"
 else