summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/deployImage
diff options
context:
space:
mode:
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)
;;