bug #955: Fix file size calculation

This commit is contained in:
Ruben S. Montero committed 2011-11-03 23:40:24 +01:00
1 parent 3986ef27f7
commit fdaaa3644f
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ echo "$IMAGE_REPOSITORY_PATH/`echo $CANONICAL_MD5 | cut -d ' ' -f1`"
}
function fs_du {
SIZE=`$(stat -c %s $1)`
SIZE=`stat -c %s $1`
if [ $? -ne 0 ]; then
SIZE=0