Commit 685863d3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: don't hide errors on list

parent 3043030b
......@@ -362,6 +362,14 @@ set_quiet()
quiet=1
}
unset_quiet()
{
WGETQ=''
CURLQ=''
AXELQ=''
quiet=''
}
eget_help()
{
......@@ -1092,6 +1100,8 @@ __wget()
url_scat()
{
local URL="$1"
download_with_mirroring __wget "$URL" -O- && return
unset_quiet
download_with_mirroring __wget "$URL" -O-
}
# download to default name of to $2
......@@ -1141,6 +1151,8 @@ __curl()
url_scat()
{
local URL="$1"
download_with_mirroring __curl "$URL" --output - && return
unset_quiet
download_with_mirroring __curl "$URL" --output -
}
# download to default name of to $2
......
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