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(). > Thus this patch. > > Did a brief testing, looks good to me.
Thanks! I'll apply it next week.
> I just checked iwconfig for now, am not sure if similar problems are
> there elsewhere also.
I'll check the rest.
> 1913c1913
> < int goterr = 0;
> ---
> > int ret = 0;
[...]
Minor nitpick: next time please send a unified diff (use the -u option for
diff), it produces patches which are easier to read and which can apply cleanly
even if the original source is changed somewhat.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <[email protected]>
signature.asc
Description: Digital signature

