mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #39104 from githubcdr/develop
Do not use name resolving for --notrim check
This commit is contained in:
commit
4cd698ca33
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user