diff options
author | ramon <ramongomez@us.es> | 2017-01-25 08:19:29 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-01-25 08:19:29 +0000 |
commit | bec0f2ffc0b8ce43e7bfe8b692c06b35755e8117 (patch) | |
tree | 354c21ab72a95d1ea11a86635c33fa0233c05d7e /client/engine/FileSystem.lib | |
parent | d9f58fc23e9accc15866b241a76817e4c34b9ab7 (diff) |
#754: Aplicar r5159 en versión 1.1
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5160 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/FileSystem.lib')
-rwxr-xr-x | client/engine/FileSystem.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib index 655e7d2c..32d7c382 100755 --- a/client/engine/FileSystem.lib +++ b/client/engine/FileSystem.lib @@ -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 |