summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-03-20 11:40:24 +0000
committerramon <ramongomez@us.es>2014-03-20 11:40:24 +0000
commit6bde19dc9605d597650798f5f34a38f8626c09b1 (patch)
tree26ee0929957c27c4f2a16e423427b143bef6a910 /client
parent5962edd0e946112b7727e7c59e631d7dae7e9cd4 (diff)
#637: Corregir erratas en r4188.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4199 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Disk.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index 8d6d1d0a..11fe52ac 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 -le 4 ] || ogRaiseError $OG_ERR_FORMAT || return $?
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 $?)
+ [ -n "$EXTSTART" ] || ogRaiseError $OG_ERR_FORMAT || return $?
START=$EXTSTART
SECTORS=$[EXTSTART+EXTSIZE]
fi