forgot to escape slashes

This commit is contained in:
Martin Treide-Heuser 2018-06-18 10:38:24 +02:00
parent af76ff6e11
commit 273437d034

View File

@ -11,7 +11,7 @@ fi
# Set log output to STDOUT if wanted (LOG_TO_STDOUT=true)
if [ "$LOG_TO_STDOUT" == "true" ]; then
chmod o+w /dev/stdout
sed -i "s/.*error_log.*$/error_log /dev/stdout warn;/"
sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/"
echo "Logging to STDOUT activated" > /dev/stdout
fi