refactor notify script
The shellcheck proposed a few changes and I applied them.
I can't create an MR and not sure how can I contribute directly. So I published my changes on the GitHub so please pull them https://github.com/stokito/user-notify/commits/refactor/