Commit 1df832c2 authored by Marcin Siodelski's avatar Marcin Siodelski

[#423] Redirect wget output to null

Avoid displaying wget output when checking wget version by redirecting the
output to /dev/null (per review).
parent 99e7cc22
......@@ -84,7 +84,7 @@ MOCKGEN = "#{GOBIN}/mockgen"
RICHGO = "#{GOBIN}/richgo"
# wget
if system("wget --version").nil?
if system("wget --version > /dev/null").nil?
abort("wget is not installed on this system")
# extract wget version
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