Commit 00d334e0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget fix: is_httpurl() use && instead of &

parent fe3d03ea
......@@ -261,8 +261,8 @@ is_ipfsurl()
is_httpurl()
{
# TODO: improve
echo "$1" | grep -q "^https://" & return
echo "$1" | grep -q "^http://" & return
echo "$1" | grep -q "^https://" && return
echo "$1" | grep -q "^http://" && return
}
cid_from_url()
......
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