@cryptotaxi247 / netdata-1 / commits / a641d8be7

fixed a bug that prevented dispatching alarms to multiple email recipients

Costa Tsaousis (ktsaou) committed Sep 14, 2016 at 10:46 UTC a641d8be7588724241ae7e2127d0e4c0dca98151
1 file changed +1 -1
plugins.d/alarm-notify.sh
+1 -1
@@ -131,7 +131,7 @@ to_pushover="${!arr_pushover[*]}"
131
132 # build the list of email recipients (email addresses)
133 to_email=
134 -for x in "${!arr_email[*]}"
134 +for x in "${!arr_email[@]}"
135 do
136 [ ! -z "${to_email}" ] && to_email="${to_email}, "
137 to_email="${to_email}${x}"