mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #545 from YunoHost/fix-noisy-wget
[fix] Silent output/warning but display errors
This commit is contained in:
commit
f6780aeede
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ ynh_setup_source () {
|
|||
then # Use the local source file if it is present
|
||||
cp $local_src $src_filename
|
||||
else # If not, download the source
|
||||
wget -nv -O $src_filename $src_url
|
||||
local out=`wget -nv -O $src_filename $src_url 2>&1` || ynh_print_err $out
|
||||
fi
|
||||
|
||||
# Check the control sum
|
||||
|
|
Loading…
Add table
Reference in a new issue