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:
parent
64c46daac9
commit
a906d58939
@ -188,6 +188,8 @@ function fs_size {
|
||||
;;
|
||||
esac
|
||||
|
||||
SIZE=$(echo $SIZE | tr -d "\r")
|
||||
|
||||
if [ $error -ne 0 ]; then
|
||||
SIZE=0
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user