diff options
Diffstat (limited to 'client/shared/scripts/deployImage')
-rwxr-xr-x | client/shared/scripts/deployImage | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage index 824da2af..9406d80e 100755 --- a/client/shared/scripts/deployImage +++ b/client/shared/scripts/deployImage @@ -119,6 +119,8 @@ case "$MODE" in # Si protocolo es torrent|torrent-cache o multicast|multicast-cache TORRENT|TORRENT-CACHE|MULTICAST|MULTICAST-CACHE|UNICAST|UNICAST-CACHE) + # Eliminamos CACHE o DIRECT + PROTO=${PROTO%%-*} ogEcho log session "[2] updateCache "$REPO" \"/$IMGNAME.img\" $PROTO $PROTOOPT" TIME2=$SECONDS updateCache "$REPO" "/$IMGNAME.img" "$PROTO" "$PROTOOPT" @@ -165,6 +167,10 @@ case "$MODE" in # Time-out en la transferencia multicast (El mensaje de error está enviado) exit $RETVAL ;; + *) + # Error desconocido + exit $RETVAL + ;; esac ;; *) # Error: protocolo desconocido. |