Bug#394258: ifconfig: always returns true even if fails

2006-10-20 Thread Dan Jacobson
Package: net-tools Version: 1.60-17 Severity: normal File: /sbin/ifconfig Not even an error in $? is returned if failed to take device down, Nor any error messages. # ifconfig -s Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg lo16436 034 0 0

Bug#394258: ifconfig: always returns true even if fails

2006-10-20 Thread Bernd Eckenfels
the problem is a kernel problem, if the kernel does not report an error /sbin/ifconfig bla down ; echo $? bla: ERROR while getting interface flags: No such device 255 like /etc/init.d/many_packages start|stop do. As of policy the init scripts should return success if the state is already