From 4e1a05b67adc7b713b8a2fb173c83a9b85c2cb0f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 18 Jun 2012 17:10:21 +0200 Subject: [PATCH] feature #1291: Add missing cut options --- src/datastore_mad/remotes/libfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=$? ;; *)