Skip to content

Commit

Permalink
add wget—no-check-certificate for certificate ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
oooldking committed Feb 3, 2018
1 parent 84778ff commit 6d5073e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ speed_test(){
speed() {
# install speedtest
if [ ! -e '/tmp/speedtest.py' ]; then
wget -P /tmp https://raw.github.com/sivel/speedtest-cli/master/speedtest.py > /dev/null 2>&1
wget --no-check-certificate -P /tmp https://raw.github.com/sivel/speedtest-cli/master/speedtest.py > /dev/null 2>&1
fi
chmod a+rx /tmp/speedtest.py

Expand Down
2 changes: 1 addition & 1 deletion superspeed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ fi

# install speedtest
if [ ! -e './speedtest.py' ]; then
wget -P /tmp https://raw.github.com/sivel/speedtest-cli/master/speedtest.py > /dev/null 2>&1
wget --no-check-certificate -P /tmp https://raw.github.com/sivel/speedtest-cli/master/speedtest.py > /dev/null 2>&1
fi
chmod a+rx /tmp/speedtest.py

Expand Down

0 comments on commit 6d5073e

Please sign in to comment.