Merge pull request #1012 from jayme/down4me-fix

added `-L` to curl options to avoid empty responses
This commit is contained in:
Nils Winkler
2017-08-13 17:32:09 +02:00
committed by GitHub

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