1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

Feature #2589: Remove '\r' chars from the size

This commit is contained in:
Jaime Melis 2014-01-23 15:07:24 +01:00
parent 64c46daac9
commit a906d58939

View File

@ -188,6 +188,8 @@ function fs_size {
;;
esac
SIZE=$(echo $SIZE | tr -d "\r")
if [ $error -ne 0 ]; then
SIZE=0
else