diff options
author | ramon <ramongomez@us.es> | 2014-03-17 11:48:19 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-03-17 11:48:19 +0000 |
commit | 1f03f6e1e23f42a55bfaffcdd63852be4562866e (patch) | |
tree | a92bec643842b475061d1d6edce1f0a2d7cbd5f3 /client/engine | |
parent | a73649da0a35ef4e4947a939d8bf2491c6bcaff2 (diff) |
#637: Corregir erratas en r4187.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4188 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine')
-rwxr-xr-x | client/engine/Disk.lib | 4 | ||||
-rwxr-xr-x | client/engine/Image.lib | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib index 293aac3f..8d6d1d0a 100755 --- a/client/engine/Disk.lib +++ b/client/engine/Disk.lib @@ -101,13 +101,13 @@ while [ $# -gt 0 ]; do SIZE=$[SIZE*2] # Comprobar si la partición es extendida. if [ $ID = 5 ]; then - [ $PART -gt 4 ] && return (ogRaiseError $OG_ERR_FORMAT; echo $?) + [ $PART -gt 4 ] && return $(ogRaiseError $OG_ERR_FORMAT; echo $?) EXTSTART=$START EXTSIZE=$SIZE fi # Incluir particiones lógicas dentro de la partición extendida. if [ $PART = 5 ]; then - [ -z "$EXTSTART" ] && return (ogRaiseError $OG_ERR_FORMAT; echo $?) + [ -z "$EXTSTART" ] && return $(ogRaiseError $OG_ERR_FORMAT; echo $?) START=$EXTSTART SECTORS=$[EXTSTART+EXTSIZE] fi diff --git a/client/engine/Image.lib b/client/engine/Image.lib index 59d17809..971007aa 100755 --- a/client/engine/Image.lib +++ b/client/engine/Image.lib @@ -471,7 +471,7 @@ if [ "$*" == "help" ]; then return fi # Error si no se reciben 4 parámetros. -[ $# == 4 ] || ogRaiseError $OG_ERR_FORMAT || return $?) +[ $# == 4 ] || ogRaiseError $OG_ERR_FORMAT || return $? # Procesar parámetros. PART="$(ogDiskToDev $3 $4)" || return $(ogRaiseError $OG_ERR_NOTFOUND " $3 $4"; echo $?) #IMGTYPE=$(ogGetImageType "$1" "$2") |