From 06c615208562055e0199ca753d9c22a01e5ea31d Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 18 Jul 2021 23:47:31 +1000 Subject: [PATCH] Turn off -e when running init-php.sh --- init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init b/init index 5507453..5e41ef7 100755 --- a/init +++ b/init @@ -136,7 +136,8 @@ if [ "${role}" = "app" -a -e artisan ]; then " fi - [ -e init-php.sh -a -x init-php.sh ] && su www-data -s /bin/sh "init-php.sh" & + set +e + [ -x init-php.sh ] && su www-data -s /bin/sh "init-php.sh" & exec /usr/local/bin/docker-php-entrypoint "$@"