mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-08 05:57:23 +03:00
Bug #3063: Typo
This commit is contained in:
parent
29dc081c37
commit
e5d04c1a19
@ -158,7 +158,7 @@ function fs_size {
|
||||
HEADERS=`curl -LIk --max-time 60 --fail $1 2>&1`
|
||||
error=$?
|
||||
|
||||
if [ "$?" != "0" ]; then
|
||||
if [ "$?" = "0" ]; then
|
||||
if echo "$HEADERS" | grep -q "OpenNebula-AppMarket-Size"; then
|
||||
# An AppMarket/Marketplace URL
|
||||
SIZE=$(echo "$HEADERS" | grep "^OpenNebula-AppMarket-Size:" | tail -n1 | cut -d: -f2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user