summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-06 16:42:50 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-06 16:42:50 +0300
commitc00e3457c1923f20da966f696fab679ace39408b (patch)
tree88c686e27e0c26804e2cd98e009db6df9d48c543 /download
parent0f6ceedad988ee65bdf45b6ee3e3303f74bc6e20 (diff)
Redirect pointless warning message to /dev/null
Diffstat (limited to 'download')
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 19cc4697cd7a..468cf61e4722 100755
--- a/download
+++ b/download
@@ -78,7 +78,7 @@ fi
# check for wget and md5sum
wget=
md5sum=
-curl=`which curl`
+curl=`which curl 2>/dev/null`
for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/wget /opt/local/bin/wget; do
eval "$i --version" > /dev/null 2>&1