mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
change exit code
Signed-off-by: jessicamack <jmack@redhat.com>
This commit is contained in:
parent
6ea3b20912
commit
d282393035
@ -55,7 +55,7 @@ class Command(BaseCommand):
|
||||
def notify_listener_and_exit(self, *args):
|
||||
with pg_bus_conn(new_connection=False) as conn:
|
||||
conn.notify('web_heartbeet', self.construct_payload(action='offline'))
|
||||
sys.exit(1)
|
||||
sys.exit(0)
|
||||
|
||||
def do_hearbeat_loop(self):
|
||||
with pg_bus_conn(new_connection=True) as conn:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user