diff --git a/src/datastore_mad/remotes/libfs.sh b/src/datastore_mad/remotes/libfs.sh index 370858e417..d786c9e7d5 100644 --- a/src/datastore_mad/remotes/libfs.sh +++ b/src/datastore_mad/remotes/libfs.sh @@ -92,7 +92,7 @@ function fs_size { case $1 in http://*) - SIZE=`curl --head $1 2>/dev/null | grep Length | cut -d: -f` + SIZE=`curl --head $1 2>/dev/null | grep Length | cut -d':' -f2` error=$? ;; *)