Commit 68f5e231 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: fix --check

parent ea08fd59
......@@ -910,7 +910,7 @@ url_get_headers()
url_check()
{
local URL="$1"
url_get_response | grep "HTTP/" | tail -n1 | grep -q -w "200\|404"
url_get_response "$URL" | grep "HTTP/" | tail -n1 | grep -q -w "200\|404"
}
url_get_header()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment