summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/deployImage
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-02-11 13:42:14 +0000
committeririna <irinagomez@us.es>2014-02-11 13:42:14 +0000
commit7f8d5d5a9e1559b2ff3d0db0a75895fbe26983da (patch)
treeffd9bca7b963b2aecd1711aa117ff8b0eccdfb19 /client/shared/scripts/deployImage
parentac0edb0d77af1da8011f0aa5d3e1cf39e6e6ee0e (diff)
#636 log en tiempo real: mejora para unicast y mcast-direct.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4145 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/deployImage')
-rwxr-xr-xclient/shared/scripts/deployImage4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage
index e9f7db77..5473c674 100755
--- a/client/shared/scripts/deployImage
+++ b/client/shared/scripts/deployImage
@@ -61,7 +61,7 @@ PROTOOPT="$6"
# Clear temporary file used as log track by httpdlog
# Limpia los ficheros temporales usados como log de seguimiento para httpdlog
-echo " " > $OGLOGSESSION; echo " " > $OGLOGCOMMAND; echo " " > ${OGLOGCOMMAND}.tmp
+echo -n "" > $OGLOGSESSION; echo " " > $OGLOGCOMMAND
# Registro de inicio de ejecuciĆ³n
echo "[1] $MSG_SCRIPTS_START $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE
@@ -144,7 +144,7 @@ TIME3=$SECONDS
case "$NEXTOPERATION" in
CACHE)
echo "[55] $MSG_HELP_ogRestoreImage : restoreImage CACHE $IMGNAME $DISK $PART UNICAST" | tee -a $OGLOGSESSION $OGLOGFILE
- restoreImage CACHE "$IMGNAME" "$DISK" "$PART" | tee -a $OGLOGCOMMAND
+ restoreImage CACHE "$IMGNAME" "$DISK" "$PART"
RETVAL=${PIPESTATUS[0]}
RESUMERESTOREIMAGE=$(grep "Total Time:" $OGLOGCOMMAND)
;;