diff options
author | ramon <ramongomez@us.es> | 2014-10-15 12:05:09 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-10-15 12:05:09 +0000 |
commit | 9a1df17f3d3d4d1c331e7333298563b443178df1 (patch) | |
tree | 1f954496f8469ac7cf55d15ae6a91322ab96dd8b /client/shared/scripts/restoreImage | |
parent | d32ebd8f1d0858d76158698e193f9914aaf98f5c (diff) |
#611 #640: Adaptar scripts a las funciones {{{ogEcho}}} y {{{ogExecAndLog}}} para que el código sea más legible.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/restoreImage')
-rwxr-xr-x | client/shared/scripts/restoreImage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/restoreImage b/client/shared/scripts/restoreImage index ae403494..4575bf6c 100755 --- a/client/shared/scripts/restoreImage +++ b/client/shared/scripts/restoreImage @@ -53,7 +53,7 @@ case "$PROTO" in #TODO comprobar parametros anteriores ogEcho log session "[40] ogMcastReceiverPartition $DISK $PART $PORT $TOOL $COMPRESS" ogMcastRequest "$IMGNAME.img" "$PROTOOPT" - ogMcastReceiverPartition "$DISK" "$PART" "$PORT" "$TOOL" "$COMPRESS" 2>&1 | tee -a $OGLOGCOMMAND + ogExecAndLog command ogMcastReceiverPartition "$DISK" "$PART" "$PORT" "$TOOL" "$COMPRESS" RETVAL=${PIPESTATUS[0]} ;; *) # Protocolo desconocido. |