Skip to content

Commit 8cd6b7c

Browse files
committed
Bugfix unary operator
1 parent 77da155 commit 8cd6b7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fi
151151

152152
## TROUBLESHOOTING
153153
For more details and troubleshooting with parameters please check:
154-
154+
* Check_MK notification logfile: /omd/sites/{sitename}/var/log/notify.log
155155
* [Check_MK Manual > Notifications > Chapter: 11.3. A simple example](https://docs.checkmk.com/latest/en/notifications.html#H1:Real)
156156
* [[Feature-Request] Multiple Alert Profiles](https://github.com/filipnet/checkmk-telegram-notify/issues/3)
157157

check_mk_telegram-notify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ else
2626
fi
2727

2828
# Privacy settings to anonymize/masking IP addresses
29-
if [ ${NOTIFY_PARAMETER_3} = "privacy" ]; then
29+
if [[ ${NOTIFY_PARAMETER_3} == "privacy" ]]; then
3030
# IPv4 IP addresses
3131
if [ ${NOTIFY_HOST_ADDRESS_4} ]; then
3232
slice="${NOTIFY_HOST_ADDRESS_4}"

0 commit comments

Comments
 (0)