projects
/
snf-image
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd5ce7
)
Fix a bash bug affecting the network image backend
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Thu, 12 Sep 2013 14:13:01 +0000
(17:13 +0300)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Thu, 12 Sep 2013 14:13:01 +0000
(17:13 +0300)
snf-image-host/create
patch
|
blob
|
history
diff --git
a/snf-image-host/create
b/snf-image-host/create
index
06ee37a
..
e302e26
100755
(executable)
--- a/
snf-image-host/create
+++ b/
snf-image-host/create
@@
-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)