From 06e4f0dfcd8440069ddb671c2eb5168d676fa436 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 25 Jan 2020 00:02:13 +1100 Subject: [PATCH] Need to disable our error pipeline with mountpoint --- init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init b/init index 76ad0b7..ae77471 100755 --- a/init +++ b/init @@ -19,8 +19,10 @@ if [ "${role}" = "app" -a -e artisan ]; then exec /bin/bash fi + set +e mountpoint -q ${php} mp=$? + set -e # Only adjust perms if this is an external mountpoint if [ ${mp} -eq 0 -o -n "${FORCE_PERMS}" ] ; then @@ -45,8 +47,10 @@ if [ "${role}" = "app" -a -e artisan ]; then NODEV="--no-dev" fi + set +e mountpoint -q ${composer} mp=$? + set -e if [ ${mp} -eq 0 -o -n "${FORCE_PERMS}" ] ; then [ -n "${FORCE_PERMS}" -o "${env}" != "dev" -a -z "${SKIP_PERM}" ] && chown -R www-data:www-data ${composer}