summaryrefslogtreecommitdiffstats
path: root/admin/Interface/RestaurarSoftIncremental
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-03-04 13:07:35 +0000
committeririna <irinagomez@us.es>2014-03-04 13:07:35 +0000
commit30ad471609a53482410d51b66f0c9f764c2e944a (patch)
treefdd9c2b594b417e399b86d509c874ed2f0608789 /admin/Interface/RestaurarSoftIncremental
parent46f7d6f1ff72d67b3aa2963400353678790b18ef (diff)
#565 #636 revisiĆ³n mensajes de error en las sincronizadas.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4173 a21b9725-9963-47de-94b9-378ad31fedc9
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