From fdaaa3644faad23ee7b8cfee334824eb30c3f390 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Thu, 3 Nov 2011 23:40:24 +0100 Subject: [PATCH] bug #955: Fix file size calculation --- src/image_mad/remotes/fs/fsrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image_mad/remotes/fs/fsrc b/src/image_mad/remotes/fs/fsrc index dcf439837c..24ad43fbd6 100644 --- a/src/image_mad/remotes/fs/fsrc +++ b/src/image_mad/remotes/fs/fsrc @@ -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