Skip to content

Commit d4214bb

Browse files
committed
Aligning Env Var Existing Checks in New Relic Startup
1 parent d9d1600 commit d4214bb

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)