diff --git a/bundles/icinga2/files/scripts/icinga_notification_wrapper b/bundles/icinga2/files/scripts/icinga_notification_wrapper index 2741839..612882d 100644 --- a/bundles/icinga2/files/scripts/icinga_notification_wrapper +++ b/bundles/icinga2/files/scripts/icinga_notification_wrapper @@ -199,7 +199,7 @@ if __name__ == '__main__': notify_per_mail() if args.sms: - if args.service_name: + if not args.service_name: notify_per_sms() if CONFIG['ntfy']['user']: notify_per_ntfy()