Skip to content

Commit 157a1c2

Browse files
fix huge mistake : bad copy past and missing parameters
1 parent 3bc935e commit 157a1c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ fi
7979

8080

8181
# Prevent config files from being filled to infinity by force of stop and restart the container
82-
lastlinephpconf="$(grep "." ./run_example.sh | tail -1)"
82+
lastlinephpconf="$(grep "." /usr/local/etc/php-fpm.conf | tail -1)"
8383
if [[ $lastlinephpconf == *"php_flag[display_errors]"* ]]; then
84-
sed '$' /usr/local/etc/php-fpm.conf
84+
sed -i '$ d' /usr/local/etc/php-fpm.conf
8585
fi
8686

8787
# Display PHP error's or not

0 commit comments

Comments
 (0)