completion: add hack to enable file mode in bash < 4
[gitweb.git] / http-push.c
index bd66f6ab6edd24946d2bc84e117a2b97417b1503..395a8cfc1055fb6febc9cee559d8943bb4d9e829 100644 (file)
@@ -1551,7 +1551,7 @@ static int remote_exists(const char *path)
                ret = 0;
                break;
        case HTTP_ERROR:
-               http_error(url, HTTP_ERROR);
+               error("unable to access '%s': %s", url, curl_errorstr);
        default:
                ret = -1;
        }