Hi! > > The netstat command will return nozero on Ubuntu 12.04 even if > > execution success. > > > > for example: > > in Ubuntu > > $ netstat -s 1>/dev/null 2>&1 ; echo $? > > 1 > > in CentOS > > $ netstat -s 1>/dev/null 2>&1 ; echo $? > > 0 > > > > Signed-off-by: Vincent Hsu <[email protected]> > > This should be a bug in netstat @ Ubuntu I guess?
Looks like a bug in Debian to me, I've looked into the source package and traced it down to the netstat.c-assorted_changes.patch, that seems to add ipv6 support and changes the exit(0) to exit(1) for no good reason. -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
