mirror of
https://github.com/a-stoyanov/zabbix-domain-expiry.git
synced 2025-12-17 03:35:48 +00:00
Add shebang
This commit is contained in:
parent
89565547df
commit
9c55f55daf
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
# check_domain - v2.0.0
|
# check_domain - v2.0.0
|
||||||
# Author: A. Stoyanov
|
# Author: A. Stoyanov
|
||||||
# GitHub: https://github.com/a-stoyanov/zabbix-domain-expiry
|
# GitHub: https://github.com/a-stoyanov/zabbix-domain-expiry
|
||||||
|
|
@ -1005,4 +1006,4 @@ if [ $expdays -ge 0 ]; then
|
||||||
fi
|
fi
|
||||||
die "$STATE_CRITICAL" "State: CRITICAL ; Days since expired: ${expdays#-} ; Expire date: $expdate"
|
die "$STATE_CRITICAL" "State: CRITICAL ; Days since expired: ${expdays#-} ; Expire date: $expdate"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue