summaryrefslogtreecommitdiffstats
path: root/admin/Interface/RestaurarSoftIncremental
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/RestaurarSoftIncremental')
-rwxr-xr-xadmin/Interface/RestaurarSoftIncremental7
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/Interface/RestaurarSoftIncremental b/admin/Interface/RestaurarSoftIncremental
index f889547b..2774dabc 100755
--- a/admin/Interface/RestaurarSoftIncremental
+++ b/admin/Interface/RestaurarSoftIncremental
@@ -48,6 +48,7 @@
if [ ${10} -eq 1 ]; then
#sincronizacion1
ogRestaurarSoftIncremental "$@"
+ RETVAL=$?
fi
if [ ${10} -eq 2 ]; then
@@ -72,6 +73,10 @@
OPT=${6#*_}
restoreDiffImage $DEST "$3" "$5" $1 $2 $PROTO $OPT
-
+ RETVAL=$?
fi
+ # Registro de fin de ejecuciĆ³n
+ echo "$MSG_INTERFACE_END $RETVAL" | tee -a $OGLOGSESSION $OGLOGFILE
+
+ exit $RETVAL