Merge pull request #1012 from jayme/down4me-fix

added `-L` to curl options to avoid empty responses
pull/1023/head
Nils Winkler 2017-08-13 17:32:09 +02:00 committed by GitHub
commit 54c456d56a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function down4me ()
param '1: website url'
example '$ down4me http://www.google.com'
group 'base'
curl -s "http://www.downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g'
curl -Ls "http://downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g'
}
function myip ()