summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearSoftIncremental
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/CrearSoftIncremental')
-rwxr-xr-xadmin/Interface/CrearSoftIncremental7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/Interface/CrearSoftIncremental b/admin/Interface/CrearSoftIncremental
index ccf8d70f..69ee9801 100755
--- a/admin/Interface/CrearSoftIncremental
+++ b/admin/Interface/CrearSoftIncremental
@@ -62,6 +62,7 @@
if [ $8 -eq 1 ]; then
#sincronizacion1
ogCrearSoftIncremental "$@"
+ RETVAL=$?
fi
@@ -82,7 +83,13 @@
CLIENTIP=$(ogGetIpAddress)
[ "$4" == "$CLIENTIP" ] && DEST=CACHE || DEST=REPO
createDiffImage $1 $2 $DEST "$3" "$5"
+ 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