diff --git a/lib/nginx.pm b/lib/nginx.pm index 6f1c0ac..b54286e 100644 --- a/lib/nginx.pm +++ b/lib/nginx.pm @@ -581,7 +581,7 @@ sub nginx_cgi { if($config->{os} eq "Linux") { my $cmd = $nginx->{cmd} || ""; if(!$cmd || $cmd eq "ss") { - open(IN, "ss -nl --$pp |"); + open(IN, "ss -nl --tcp |"); while() { (undef, undef, undef, $pnum) = split(' ', $_); chomp($pnum);