refs #2187 fix rc management in deployImage.py

pull/53/head
Natalia Serrano 2025-06-06 13:58:14 +02:00
parent 928dedfeeb
commit 4061f85704
1 changed files with 1 additions and 1 deletions

View File

@ -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}')