From a906d5893938317b222ad79093087ca983ed30b7 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Thu, 23 Jan 2014 15:07:24 +0100 Subject: [PATCH] Feature #2589: Remove '\r' chars from the size --- src/datastore_mad/remotes/libfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datastore_mad/remotes/libfs.sh b/src/datastore_mad/remotes/libfs.sh index 7ccc45ddf5..ed86008df8 100644 --- a/src/datastore_mad/remotes/libfs.sh +++ b/src/datastore_mad/remotes/libfs.sh @@ -188,6 +188,8 @@ function fs_size { ;; esac + SIZE=$(echo $SIZE | tr -d "\r") + if [ $error -ne 0 ]; then SIZE=0 else