Fix a bash bug affecting the network image backend
authorNikos Skalkotos <skalkoto@grnet.gr>
Thu, 12 Sep 2013 14:13:01 +0000 (17:13 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Thu, 12 Sep 2013 14:13:01 +0000 (17:13 +0300)
snf-image-host/create

index 06ee37a..e302e26 100755 (executable)
@@ -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)