summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearImagenBasica
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/CrearImagenBasica
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/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
+