summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearImagenBasica
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/CrearImagenBasica')
-rwxr-xr-xadmin/Interface/CrearImagenBasica9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/Interface/CrearImagenBasica b/admin/Interface/CrearImagenBasica
index 7efc69e2..20607f9b 100755
--- a/admin/Interface/CrearImagenBasica
+++ b/admin/Interface/CrearImagenBasica
@@ -63,6 +63,7 @@
if [ $7 -eq 1 ]; then
#sincronizacion1
ogCrearImagenBasica "$@"
+ RETVAL=$?
fi
@@ -83,8 +84,16 @@
[ "$4" == "0.0.0.0" ] && DEST="CACHE" || DEST="REPO"
createBaseImage $1 $2 $DEST "$3"
+ RETVAL=$?
fi
[ "$REPO" == "REPO" -a "$boot" != "admin" ] && CambiarAcceso user
+ # Registro de fin de ejecuciĆ³n
+ echo "$MSG_INTERFACE_END $RETVAL" | tee -a $OGLOGSESSION $OGLOGFILE
+
+
+
+ exit $RETVAL
+