diff --git a/docker/phraseanet/worker/entrypoint.sh b/docker/phraseanet/worker/entrypoint.sh index 9f6cd0a5b1..ed732a2b22 100755 --- a/docker/phraseanet/worker/entrypoint.sh +++ b/docker/phraseanet/worker/entrypoint.sh @@ -44,7 +44,7 @@ if [[ $NEWRELIC_ENABLED = "true" ]]; then echo "Newrelic setup of daemon and PHP agent done" else echo `date +"%Y-%m-%d %H:%M:%S"` " - Newrelic extension deactivation." - rm /usr/local/etc/php/conf.d/newrelic.ini + rm - f /usr/local/etc/php/conf.d/newrelic.ini fi if [[ $BLACKFIRE_ENABLED = "true" ]]; then @@ -54,7 +54,7 @@ if [[ $BLACKFIRE_ENABLED = "true" ]]; then echo "Blackfire setup done" else echo `date +"%Y-%m-%d %H:%M:%S"` " - blackfire extension deactivation." - rm /usr/local/etc/php/conf.d/zz-blackfire.ini + rm -f /usr/local/etc/php/conf.d/zz-blackfire.ini fi rm -rf bin/run-worker.sh