Comment 5 for bug 410182

Revision history for this message
Juan Pablo Aroztegi (jpabloae) wrote :

@caligari: thank you for the bug report. Indeed there is a problem when the system has a non-english or non-C locale. However using "netstat -vatnl" does not provide the same output as we expect with the grep. With "-a" with include all and with "-l" only the ones that are listening. If we include both, "-a" wins. So "netstat -vtnl" is what we want.

Additionally we could export the es_US locale in the script, to make sure we don't have similar issues in the future.

@Brian: what do you think about this last proposal? Do you see any problems with that?

Juan Pablo