added -L to curl options to avoid empty responses

- changed URL to non-www as well
This commit is contained in:
jayme
2017-07-28 16:36:57 -04:00
parent 702d923054
commit 20a8f10102

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 ()