Compare commits

...

2 commits

Author SHA1 Message Date
Pavel Z
73361561f1
Merge 6aa9768bcb into 89565547df 2025-08-18 22:04:27 +03:00
PavelZ
6aa9768bcb Add shebang 2025-08-18 22:04:00 +03:00

View file

@ -1,3 +1,4 @@
#!/bin/sh
# check_domain - v2.0.0
# Author: A. Stoyanov
# GitHub: https://github.com/a-stoyanov/zabbix-domain-expiry
@ -47,7 +48,6 @@
# - Debug output is enabled with -z and sent to stderr.
# - Temporary files are cleaned up on exit.
#!/bin/sh
set -e
exec 2>&1
@ -1005,4 +1005,4 @@ if [ $expdays -ge 0 ]; then
fi
die "$STATE_CRITICAL" "State: CRITICAL ; Days since expired: ${expdays#-} ; Expire date: $expdate"
exit 0
exit 0