diff options
author | irina <irinagomez@us.es> | 2013-06-21 12:09:10 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2013-06-21 12:09:10 +0000 |
commit | 56b3a42f8f77d1d0c760cddb222bc0ecb381c767 (patch) | |
tree | d0dbf13f4dc1da8b418d1dc996fb558b85ea144c /client/shared/scripts/restoreDiffImage | |
parent | 30e0a236980390a94fb63a6b1a7a4345ca9157fa (diff) |
#565 script sincronizadas: aumenta la estimacion del tamaño imagen linux, cambio de opcions ls por cambio del comando y mensaje de error desconocido
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3921 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/restoreDiffImage')
-rwxr-xr-x | client/shared/scripts/restoreDiffImage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/shared/scripts/restoreDiffImage b/client/shared/scripts/restoreDiffImage index 2f986bd7..f393d1d6 100755 --- a/client/shared/scripts/restoreDiffImage +++ b/client/shared/scripts/restoreDiffImage @@ -29,9 +29,9 @@ trap "onexit $1 \"$2\" $3 $4" 1 2 3 6 9 14 15 ERR # Si salimos con error demontamos la imagen y desbloqueamos la imagen y la particion function onexit() { local exit_status=$? + echo "$MSG_ERR_GENERIC $exit_status" |tee -a $OGLOGFILE $OGLOGSESSION ogUnmountImage "$1" "$2" "$DIFFEXT" &>/dev/null - # Si la partición no estaba bloqueada -> la desbloqueo - [ $exit_status -eq 4 ] || ogUnlock $3 $4 &>/dev/null + ogUnlock $3 $4 &>/dev/null exit $exit_status } |