diff options
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 52dabf8d..cd4a6abc 100755 --- a/client/shared/scripts/createImage +++ b/client/shared/scripts/createImage @@ -104,7 +104,7 @@ then let SIZEREQUIRED=$SIZEDATA*$FACTORLZOP #Comprobar espacio libre en el contenedor. [ "$3" == "CACHE" ] && SIZEFREE=$(ogGetFreeSize `ogFindCache`) - [ "$3" == "REPO" ] && SIZEFREE=$(df -k | grep $OGIMG | awk '{print $3}') + [ "$3" == "REPO" ] && SIZEFREE=$(df -k | grep $OGIMG | awk '{print $4}') else ogRaiseError $OG_ERR_PARTITION "$1 $2" exit $? |