mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
bug #955: Fix file size calculation
This commit is contained in:
parent
3986ef27f7
commit
fdaaa3644f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user