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