Need to disable our error pipeline with mountpoint
This commit is contained in:
parent
f99cd2f308
commit
06e4f0dfcd
4
init
4
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}
|
||||
|
Loading…
Reference in New Issue
Block a user