Red Hat Bugzilla – Bug 253342
nmh inc exit status bug
Last modified: 2007-11-30 17:12:13 EST
Just upgraded from FC5 to FC7 and this problem starting happening.
The following command returns a non-zero exit status now. Before the upgrade,
it returned 0.
inc +sprs -file /tmp/testmbox -silent; echo $?
This command, however, (which is the same as the above, except w/o -silent) does
return the proper exit status (0).
inc +sprs -file /tmp/testmbox; echo $?
This is hosing my mail filtering scripts.
The nmh from fc6 works (after a rebuild).
I had a look at inc.c in the sources and there are definite suspicious changes
between the two versions.
I see the problem and I know how to fix it. Hopefully I can build a new package
Created attachment 161872 [details]
Patch for this issue
I'll also include this in the upstream CVS later today.
I have submitted an update for this. In theory the update system should close
this bug upon it being pushed.
I've also added this fix upstream. Please let me know if you find any issues
with my fix.
Thanks for the report.
nmh-1.2-20070115cvs.4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Thank you. It's working fine now.