summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearImagen
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-03-14 13:36:21 +0000
committerramon <ramongomez@us.es>2014-03-14 13:36:21 +0000
commit0483b14f234edbefa932d73b6ca2c3d9b3283449 (patch)
tree6a4a9f1e335ec9bf17b1aefe848d9021e26c64cc /admin/Interface/CrearImagen
parent5633342e4d74884ac39dfb30b124bd2b21e79f60 (diff)
#640: Scripts de interfaz adaptados al nuevo formato de la función {{{ogEcho}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4186 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/CrearImagen')
-rwxr-xr-xadmin/Interface/CrearImagen6
1 files changed, 2 insertions, 4 deletions
diff --git a/admin/Interface/CrearImagen b/admin/Interface/CrearImagen
index 89391ed3..ca642845 100755
--- a/admin/Interface/CrearImagen
+++ b/admin/Interface/CrearImagen
@@ -40,8 +40,7 @@ TIME1=$SECONDS
echo " " > $OGLOGSESSION; echo " " > $OGLOGCOMMAND; echo " " > ${OGLOGCOMMAND}.tmp
# Registro de inicio de ejecución
-#echo "[START Interface ] Run this command: $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE
-echo "$MSG_INTERFACE_START $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE
+ogEcho log session "$MSG_INTERFACE_START $0 $*"
# Solo ejecutable por OpenGnSys Client.
PATH=$PATH:$(dirname $0)
@@ -94,8 +93,7 @@ RETVAL=$?
#fi
# Registro de fin de ejecución
-#echo "[END Interface] Command finished with this code: $RETVAL" | tee -a $OGLOGSESSION $OGLOGFILE
-echo "$MSG_INTERFACE_END $RETVAL" | tee -a $OGLOGSESSION $OGLOGFILE
+ogEcho log session "$MSG_INTERFACE_END $RETVAL"
exit $RETVAL