refs #2187 fix rc management in deployImage.py
parent
928dedfeeb
commit
4061f85704
|
@ -172,7 +172,7 @@ def main (repo, imgname, disk, par, proto='UNICAST', protoopt=''):
|
|||
# Registro de fin de ejecución
|
||||
# Si se ha llamado desde ejecutar script no lo muestro para no repetir.
|
||||
if SystemLib.ogGetCaller() != 'EjecutarScript':
|
||||
## turn shell's success into python success (without ending up with True or False, because later we want to ogEcho() "0"/"1" rather than ogEcho() "True"/"False")
|
||||
## turn shell's success into python success (without ending up with True or False, because we want to ogEcho() "0"/"1" rather than ogEcho() "True"/"False")
|
||||
if retval: retval = 0
|
||||
else: retval = 1
|
||||
SystemLib.ogEcho (['log', 'session'], None, f'{ogGlobals.lang.MSG_INTERFACE_END} {retval}')
|
||||
|
|
Loading…
Reference in New Issue