Skip to content

Commit 86aa289

Browse files
authored
Merge pull request #179 from jimdelois/fix/new-relic-startup
Aligning Env Var Existence Checks in New Relic Startup
2 parents a9019f7 + d4214bb commit 86aa289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/root/run.d/07-newrelic.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# When both App ID and license are provided, automatically enable extension
4-
if [ $REPLACE_NEWRELIC_APP ] && [ $REPLACE_NEWRELIC_LICENSE ]
4+
if [[ $REPLACE_NEWRELIC_APP ]] && [[ $REPLACE_NEWRELIC_LICENSE ]]
55
then
66
echo "[newrelic] enabling APM metrics for ${REPLACE_NEWRELIC_APP}"
77
sed -i 's/;extension\s\?=/extension =/' $CONF_PHPMODS/newrelic.ini

0 commit comments

Comments
 (0)