diff options
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Disk.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib index a7db9209..06744bd9 100755 --- a/client/engine/Disk.lib +++ b/client/engine/Disk.lib @@ -128,10 +128,10 @@ while [ $# -gt 0 ]; do echo "$DISK$PART : start=$START, size=$SIZE, Id=$ID" >>$tmpsfdisk # Error si se supera el nÂș total de sectores. START=$[START+SIZE] - [ $START -le $SECTORS ] || ogRaiseError $OG_ERR_FORMAT "$[START/2] > $[SECTORS/2]" || return $? if [ "$IOSIZE" == "4096" -a $PART -gt 4 ]; then START=$[START+2048] fi + [ $START -le $SECTORS ] || ogRaiseError $OG_ERR_FORMAT "$[START/2] > $[SECTORS/2]" || return $? PART=$[PART+1] shift done |