mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Send a non-0 exit code if no license.
This commit is contained in:
parent
dd42f09390
commit
5639fda432
@ -23,7 +23,8 @@ class Command(BaseCommand):
|
||||
# Does the license have features, at all?
|
||||
# If there is no license yet, then all features are clearly off.
|
||||
if 'features' not in license_data:
|
||||
return False
|
||||
print('No license available.')
|
||||
sys.exit(2)
|
||||
|
||||
# Does the license contain the system tracking feature?
|
||||
# If and only if it does, MongoDB should run.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user