Merge pull request #39104 from githubcdr/develop

Do not use name resolving for --notrim check
This commit is contained in:
Mike Place 2017-02-01 11:25:27 -07:00 committed by GitHub
commit 4cd698ca33

View File

@ -246,7 +246,7 @@ main() {
fi
# Check to see if --notrim is a valid netstat option
if netstat --notrim 2>&1 >/dev/null | grep -q 'unrecognized'; then
if netstat --notrim -n 2>&1 >/dev/null | grep -q 'unrecognized'; then
NS_NOTRIM=''
fi