#754: Aplicar r5159 en versión 1.1

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5160 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2017-01-25 08:19:29 +00:00
parent d9f58fc23e
commit bec0f2ffc0
1 changed files with 1 additions and 1 deletions

View File

@ -901,7 +901,7 @@ case "$(ogGetFsType $1 $2)" in
/resize at/ {r=int($5*1.1/1024+1)*1024}
END { print d,r}')
# Error si no puede obtenerse el tamaño máximo del volumen.
[ -n "$MAXSIZE" -o -n "$SIZE" ] || ogRaiseError $OG_ERR_PARTITION "$1,$2" || return $?
[ -n "$MAXSIZE" -a -n "$SIZE" ] || ogRaiseError $OG_ERR_PARTITION "$1,$2" || return $?
# Simular la redimensión y comprobar si es necesario ampliarala.
RETVAL=1
while [ $RETVAL != 0 -a $[ SIZE+=EXTRASIZE ] -lt $MAXSIZE ]; do