mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
feature #1291: Add missing cut options
This commit is contained in:
1 parent
c4c72a8ec1
commit
4e1a05b67a
1 file changed
+1
-1
@@ -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=$?
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in new issue
Block a user