summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/createImage
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2017-11-09 09:14:19 +0000
committeririna <irinagomez@us.es>2017-11-09 09:14:19 +0000
commit31d4f1a5492f5028775b012f30e82ec4c0810722 (patch)
tree0f818beea4321bcc3106b1fe35f1f3460a1c0439 /client/shared/scripts/createImage
parent744ecd6404213903f08b712aa4fac5ea19fa3201 (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-xclient/shared/scripts/createImage2
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 $?)