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 > code. > > I noticed that the exit status is propagated but not stored in main(). > Thus this patch. > > Did a brief testing, looks good to me.
Thanks a lot. Yeah, this looks simple enough to fix, I'll try to do that. Note that I'm not sure if it is very usefull, because in most cases, you should use iwgetid for that kind of job. > I just checked iwconfig for now, am not sure if similar problems are > there elsewhere also. I think only ifrename was fully audited for return code, because there is does matter. I suspect iwgetid is ok, unless you want to be more specific about the error. I suspect other tools would suffer the same problem as iwconfig. > Ritesh Thanks a lot.... Jean -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org