Fix a bug when no RDAP server and verbose
This commit is contained in:
parent
014fe9fec5
commit
ff901cfc06
@ -45,6 +45,9 @@ warning_t = datetime.timedelta(days=7)
|
|||||||
unixtime = False
|
unixtime = False
|
||||||
timeout = 20 # Seconds
|
timeout = 20 # Seconds
|
||||||
|
|
||||||
|
# Cannot be changed on the command-line (yet)
|
||||||
|
server = None
|
||||||
|
|
||||||
def usage(msg=None):
|
def usage(msg=None):
|
||||||
print("Usage: %s -H domain-name [-c critical -w warning -u -t timeout]" % sys.argv[0], end="")
|
print("Usage: %s -H domain-name [-c critical -w warning -u -t timeout]" % sys.argv[0], end="")
|
||||||
if msg is not None and msg != "":
|
if msg is not None and msg != "":
|
||||||
|
Loading…
Reference in New Issue
Block a user