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/createImage | |
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/createImage')
-rwxr-xr-x | client/shared/scripts/createImage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/createImage b/client/shared/scripts/createImage index 53a0198b..65da156b 100755 --- a/client/shared/scripts/createImage +++ b/client/shared/scripts/createImage @@ -111,7 +111,7 @@ echo " " > $OGLOGCOMMAND ogCleanOs $1 $2 #Comprobar espacio que requerira la imagen para ser almacenada -read SIZEDATA SIZEREQUIRED SIZEFREE ISENOUGHSPACE <<< $(ogGetSizeParameters $1 $2 "$REPO") +read SIZEDATA SIZEREQUIRED SIZEFREE ISENOUGHSPACE <<< $(ogGetSizeParameters $1 $2 "$REPO" "$4") ogEcho log session "[16] $PROG: $MSG_SCRIPTS_CREATE_SIZE $SIZEREQUIRED $SIZEFREE" [ "$ISENOUGHSPACE" == "TRUE" ] || exit $(ogRaiseError session $OG_ERR_CACHESIZE "$REPO"; echo $?) |