[fix] Silent output/warning but display errors

This commit is contained in:
ljf (zamentur) 2018-09-19 16:35:23 +02:00 committed by GitHub
parent 0b52b9224c
commit 10770aebd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ ynh_setup_source () {
then # Use the local source file if it is present then # Use the local source file if it is present
cp $local_src $src_filename cp $local_src $src_filename
else # If not, download the source 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 fi
# Check the control sum # Check the control sum