mirror of https://gitlab.com/bashrc2/epicyon
Ensure that the domain is obtained when removing an account
parent
206a56414a
commit
0825990eba
|
@ -1703,6 +1703,10 @@ if args.rmaccount:
|
|||
if not args.domain or not getConfigParam(baseDir, 'domain'):
|
||||
print('Use the --domain option to set the domain name')
|
||||
sys.exit()
|
||||
if args.domain:
|
||||
domain = args.domain
|
||||
else:
|
||||
domain = getConfigParam(baseDir, 'domain')
|
||||
|
||||
configuredDomain = getConfigParam(baseDir, 'domain')
|
||||
if configuredDomain:
|
||||
|
|
Loading…
Reference in New Issue