summaryrefslogtreecommitdiffstats
path: root/client/engine/FileSystem.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-01-24 13:22:32 +0000
committerramon <ramongomez@us.es>2017-01-24 13:22:32 +0000
commitec55c4a5dbc470456ad90807974adbc572788742 (patch)
tree01706cb6cadd70fa90c2aee0597fc12d2bba4dd4 /client/engine/FileSystem.lib
parent20324f2b02e47ff48c75b0d2eb6d4f154e10f0f9 (diff)
#754: Incluir corrección de {{{ogReduceFs}}} en versión 1.0.6
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.6b@5158 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/FileSystem.lib')
-rwxr-xr-xclient/engine/FileSystem.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib
index e27d21cd..5d830475 100755
--- a/client/engine/FileSystem.lib
+++ b/client/engine/FileSystem.lib
@@ -800,7 +800,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" ] || ogRaiseError $OG_ERR_PARTITION "$1,$2" || return $?
+ [ -n "$MAXSIZE" -o -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