← Back to team overview

touch-packages team mailing list archive

[Bug 1251563] Re: netstat command returns nozero even if successively executing

 

This bug was fixed in the package net-tools - 1.60-25ubuntu2.1

---------------
net-tools (1.60-25ubuntu2.1) trusty; urgency=medium

  * Fix "netstat -s passes but returns 1". (LP: #1251563)
 -- Mauricio Faria de Oliveira <mauricfo@xxxxxxxxxxxxxxxxxx>   Thu, 03 Jul 2014 11:38:50 -0500

** Changed in: net-tools (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1251563

Title:
  netstat command returns nozero even if successively executing

Status in “net-tools” package in Ubuntu:
  Fix Released
Status in “net-tools” source package in Trusty:
  Fix Released
Status in “net-tools” package in Debian:
  Fix Released

Bug description:
  for example:
  in Ubuntu
       $ netstat -s 1>/dev/null 2>&1 ; echo $?
       1
  in CentOS
       $ netstat -s 1>/dev/null 2>&1 ; echo $?
       0

  My test environment is Ubuntu 12.04.03.  "-s" is a existing argument
  to netstat, so it should be executed successively and return zero.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/1251563/+subscriptions