diff options
author | irina <irinagomez@us.es> | 2017-11-09 09:14:19 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2017-11-09 09:14:19 +0000 |
commit | 31d4f1a5492f5028775b012f30e82ec4c0810722 (patch) | |
tree | 0f818beea4321bcc3106b1fe35f1f3460a1c0439 /client/shared/scripts/createDiffImage | |
parent | 744ecd6404213903f08b712aa4fac5ea19fa3201 (diff) |
#815 ogGetSizeParameters: Al calcular el espacio libre en el repositorio tiene en cuenta si la imagen ya existe.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5504 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/createDiffImage')
-rwxr-xr-x | client/shared/scripts/createDiffImage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/createDiffImage b/client/shared/scripts/createDiffImage index 23287132..d01423eb 100755 --- a/client/shared/scripts/createDiffImage +++ b/client/shared/scripts/createDiffImage @@ -130,7 +130,7 @@ ogCreateInfoImage $1 $2 $3 "$4" "${DIFFTYPE}" [ $? -eq $OG_ERR_NOTDIFFERENT ] && exit $(ogRaiseError session $OG_ERR_NOTDIFFERENT; echo $?) #Comprobar espacio que requerira la imagen para ser almacenada -read SIZEDATA SIZEREQUIRED SIZEFREE ISENOUGHSPACE <<< $(ogGetSizeParameters $1 $2 "$3" DIFF) +read SIZEDATA SIZEREQUIRED SIZEFREE ISENOUGHSPACE <<< $(ogGetSizeParameters $1 $2 "$3" "$5" DIFF) ogEcho log session "[50] $PROG: $MSG_SCRIPTS_CREATE_SIZE $SIZEREQUIRED $SIZEFREE" [ "$ISENOUGHSPACE" == "TRUE" ] || exit $(ogRaiseError session $OG_ERR_CACHESIZE "$3"; echo $?) |