Article View: alt.privacy.anon-server
Article #182360PGP 2.6 exit status values
From: Igenlode
Date: Wed, 02 Mar 2005 21:15
Date: Wed, 02 Mar 2005 21:15
14 lines
1520 bytes
1520 bytes
I had assumed that any non-zero exit status for a PGP 2.6 command could be taken as indicating an error; however, I've recently discovered a file that my nym-handling software refuses to display when decrypted because it detects an exit status of 1. The file *is*, in fact, decrypting correctly and can be read 'manually'! So what is the meaning of this exit code? Should the program be checking for "exit code value not above 1" rather than "exit code value equals zero" in order to detect whether the PGP call succeeded? -- Igenlode Visit the Ivory Tower http://curry.250x.com/Tower/ New cliffhanger adventure story: http://curry.250x.com/Tower/Fiction/Pirates/
Technical Details
Message-ID:
<20050303013226.14475.qmail@riot.eu.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.pgp.20140428.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!proxad.net!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x2!mail2newsShow Full Headers
Complete Article Headers
Message-ID: <20050303013226.14475.qmail@riot.eu.org> Subject: PGP 2.6 exit status values Date: Wed, 02 Mar 2005 21:15:49 GMT From: Igenlode <Use-Author-Supplied-Address-Header@[127.1]> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.pgp.20140428.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!proxad.net!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x2!mail2news Author-Supplied-Address: tethys <AT> blackhole <DOT> riot <DOT> eu <DOT> org Newsgroups: alt.privacy.anon-server,alt.privacy.pgp Organization: The Ivory Tower ( http://curry.250x.com/Tower ) Mail-To-News-Contact: abuse@dizum.com