From a464b43806e6dc6b2e761881eeea6e43bef0cf90 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 5 Jul 2019 11:03:25 +0100 Subject: [PATCH] Check domain variable exists --- epicyon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epicyon.py b/epicyon.py index 18e918c6..d7e81655 100644 --- a/epicyon.py +++ b/epicyon.py @@ -237,7 +237,7 @@ if args.changepassword: print('Passwords file not found') sys.exit() -if not args.domain: +if not args.domain and not domain: print('Specify a domain with --domain [name]') sys.exit()