Check domain variable exists

master
Bob Mottram 2019-07-05 11:03:25 +01:00
parent d9d0c886f8
commit a464b43806
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ if args.changepassword:
print('Passwords file not found') print('Passwords file not found')
sys.exit() sys.exit()
if not args.domain: if not args.domain and not domain:
print('Specify a domain with --domain [name]') print('Specify a domain with --domain [name]')
sys.exit() sys.exit()