Bug#526187: wireless-tools: exit with proper codes

2009-04-29 Thread Jean Tourrilhes
On Thu, Apr 30, 2009 at 12:57:02AM +0530, Ritesh Raj Sarraf wrote: > Package: wireless-tools > Version: 29-1.1 > Severity: normal > Tags: patch > > When iwconfig is currently run with an ethernet device as an argument, > it displays "no wireless extensions". But it doesn't give a proper exit > cod

Bug#526187: wireless-tools: exit with proper codes

2009-04-29 Thread Guus Sliepen
On Thu, Apr 30, 2009 at 12:57:02AM +0530, Ritesh Raj Sarraf wrote: > When iwconfig is currently run with an ethernet device as an argument, > it displays "no wireless extensions". But it doesn't give a proper exit > code. > > I noticed that the exit status is propagated but not stored in main().

Bug#526187: wireless-tools: exit with proper codes

2009-04-29 Thread Ritesh Raj Sarraf
Package: wireless-tools Version: 29-1.1 Severity: normal Tags: patch When iwconfig is currently run with an ethernet device as an argument, it displays "no wireless extensions". But it doesn't give a proper exit code. I noticed that the exit status is propagated but not stored in main(). Thus thi