From 42f67a7e645c814515b2d5144e39d6b3aff1bbcd Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Mon, 24 Oct 2022 18:11:32 +0200 Subject: [PATCH] Domain names are case-insensitive --- check_expire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_expire b/check_expire index b2c1c43..f651817 100755 --- a/check_expire +++ b/check_expire @@ -99,7 +99,7 @@ try: usage() sys.exit(STATE_OK) elif option == "--hostname" or option == "-H": - domain = value + domain = value.lower() elif option == "--timeout" or option == "-t": timeout = int(value) elif option == "--unixtime" or option == "-u":