diff options
author | ramon <ramongomez@us.es> | 2017-01-24 13:22:32 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-01-24 13:22:32 +0000 |
commit | 91ff67bb894f8b56b347adbcf872485bce3302ce (patch) | |
tree | 13947ca446f3c15678837a11cb9ab0072df245c0 /client | |
parent | d81fc6ac2912e02c5695f5ef17e93a30d81bc70e (diff) |
#754: Incluir corrección de {{{ogReduceFs}}} en versión 1.0.6
git-svn-id: https://opengnsys.es/svn/trunk@5158 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-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 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 |