summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2018-01-16 10:15:21 +0000
committeririna <irinagomez@us.es>2018-01-16 10:15:21 +0000
commitdbcb3ed22fb807caac1a249efc87158134e45fc7 (patch)
tree2a46fd2143d8764e1f4b12f24d8e40839f51ec09
parent2f3d0532faa68eed97c28a1120b0b134b6859198 (diff)
#771 ogGetSizeParameters Se corrige errata por la que se toma valores de más de una partición
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5556 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xclient/engine/Image.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index 8cea8efc..dfbcb487 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -504,7 +504,7 @@ if [ "$IMGTYPE" == "_DIFF_" ]; then
SIZEDATA=$(grep -v "\/$" /tmp/ogimg.info | tr '\n' '\0'| du -x -c --files0-from=- 2>/dev/null|tail -n1 |cut -f1)
cd /
else
- SIZEDATA=$(df -k | grep $MNTDIR | awk '{print $3}')
+ SIZEDATA=$(df -k | grep $MNTDIR\$ | awk '{print $3}')
fi
#Aplicar factor de compresion