From 59dfe68308268387b7ead6c5d133c2687841a9ec Mon Sep 17 00:00:00 2001 From: PavelZ Date: Mon, 18 Aug 2025 20:38:29 +0300 Subject: [PATCH] Add bash shebang --- check_domain.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_domain.sh b/check_domain.sh index a4e5c50..eb5e57f 100755 --- a/check_domain.sh +++ b/check_domain.sh @@ -1,3 +1,4 @@ +#!/bin/bash # 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 \ No newline at end of file +exit 0