Bug 253342 - nmh inc exit status bug
nmh inc exit status bug
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: nmh (Show other bugs)
7
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Josh Bressers
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-17 19:33 EDT by Ahmon Dancy
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 1.2-20070115cvs.4.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-24 01:39:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch for this issue (2.15 KB, patch)
2007-08-20 09:18 EDT, Josh Bressers
no flags Details | Diff

  None (edit)
Description Ahmon Dancy 2007-08-17 19:33:36 EDT
Just upgraded from FC5 to FC7 and this problem starting happening.  

nmh-1.2-20070115cvs.3.fc7

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.
Comment 1 Ahmon Dancy 2007-08-17 20:14:08 EDT
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.
Comment 2 Josh Bressers 2007-08-20 09:17:53 EDT
I see the problem and I know how to fix it.  Hopefully I can build a new package
later today.
Comment 3 Josh Bressers 2007-08-20 09:18:50 EDT
Created attachment 161872 [details]
Patch for this issue

I'll also include this in the upstream CVS later today.
Comment 4 Josh Bressers 2007-08-21 21:03:53 EDT
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.
Comment 5 Fedora Update System 2007-08-24 01:39:08 EDT
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.
Comment 6 Ahmon Dancy 2007-08-24 13:17:06 EDT
Thank you.  It's working fine now.

Note You need to log in before you can comment on or make changes to this bug.