Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit 910547cf authored by Baptiste CHOCOT's avatar Baptiste CHOCOT
Browse files

remove deleted script usage

parent 8f30c710
Pipeline #228742 passed with stage
in 29 seconds
......@@ -22,19 +22,3 @@ def entry_point(dev=False):
# Do not remove these two lines.
export_variable('ACTEV_SYSTEM_SETUP_DEV', 1 if dev else 0)
activate_environment()
# Performer code below
path = os.path.dirname(__file__)
script = os.path.join(path, 'system-init.sh')
# status is a 16-bit long integer
# The 8 strongest bits are exit_code
# The 8 weakest bits are signal_number
status = os.system(script)
exit_code = status >> 8
signal_number = status & (2**8 - 1)
if status != 0:
if signal_number == 2: # SIGINT
raise KeyboardInterrupt
else:
raise Exception("Error occured in system-init.sh")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment