mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug #955: Fix file size calculation
This commit is contained in:
1 parent
3986ef27f7
commit
fdaaa3644f
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user