quiet pointless lsof
This commit is contained in:
parent
0ffb462b0b
commit
e519e0d7c7
|
@ -10,7 +10,7 @@ BEGIN {
|
|||
use_ok( 'Net::Connection::ncnetstat' ) || print "Bail out!\n";
|
||||
}
|
||||
|
||||
my $output_raw=`lsof -i UDP -i TCP -n -l -P`;
|
||||
my $output_raw=`lsof -i UDP -i TCP -n -l -P 2> /dev/null`;
|
||||
if (
|
||||
( $? eq 0 ) ||
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue