added `-L` to curl options to avoid empty responses

- changed URL to non-www as well
pull/1012/head
jayme 2017-07-28 16:36:57 -04:00
parent 702d923054
commit 20a8f10102
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function down4me ()
param '1: website url' param '1: website url'
example '$ down4me http://www.google.com' example '$ down4me http://www.google.com'
group 'base' 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 () function myip ()