Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Fix sed conflict with emails
Browse files Browse the repository at this point in the history
  • Loading branch information
Djamy committed Jan 8, 2017
1 parent 88976ef commit 01cd891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Expand Up @@ -43,7 +43,7 @@ if [[ $PUSHBULLET_ACCESS_TOKEN ]]; then
fi

if [[ $PUSHBULLET_DEFAULT_EMAIL ]]; then
sed -i -e "s@DEFAULT_RECIPIENT_PUSHBULLET=\"\"@DEFAULT_RECIPIENT_PUSHBULLET=\"${PUSHBULLET_DEFAULT_EMAIL}\"@" /etc/netdata/health_alarm_notify.conf
sed -i -e "s#DEFAULT_RECIPIENT_PUSHBULLET=\"\"#DEFAULT_RECIPIENT_PUSHBULLET=\"${PUSHBULLET_DEFAULT_EMAIL}\"#" /etc/netdata/health_alarm_notify.conf
fi

# exec custom command
Expand Down

0 comments on commit 01cd891

Please sign in to comment.