Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
ee2dbbb1
Commit
ee2dbbb1
authored
Sep 12, 2013
by
Nikos Skalkotos
Browse files
Fix a bash bug affecting the network image backend
parent
7dd5ce7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-image-host/create
View file @
ee2dbbb1
...
...
@@ -71,7 +71,7 @@ case $BACKEND_TYPE in
BACKEND_TYPE
=
"local"
;;
network
)
image_cmd
=
"
$CURL
$(
printf
"%q"
"
$IMAGE_NAME
"
)
2> /dev/null
"
image_cmd
=
"
$CURL
$(
printf
"%q"
"
$IMAGE_NAME
"
)
"
image_size
=
$(
$CURL
-sI
"
$IMAGE_NAME
"
|
grep
^Content-Length: |
cut
-d
" "
-f2
)
;;
pithos
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment