Article View: news.software.nn
Article #391How do you check whether inews has failed
From: Kim F. Storm
Date: Tue, 15 May 1990 14:32
Date: Tue, 15 May 1990 14:32
22 lines
1540 bytes
1540 bytes
What is the proper method to check whether inews has failed? In Bnews, inews will fork(), so the exit code cannot be used as an indicator. I guess it is necessary to check for any output from inews in that case -- but then, is it ok to assume that all output indicates an error? In Cnews, I don't know what inews does, but I know that it may produce "valid" output which doesn't indicate an error. For example, if you post to a moderated group, inews will report that the article is sent via mail to the moderator. I haven't checked what mini-inews (nntp) does, but probably something else... Any ideas how to do this in a generic way that will work for "any" inews? If not, then what is the proper (sh) code to check each of them? -- Kim F. Storm storm@texas.dk Tel +45 429 174 00 Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark No news is good news, but nn is better!
Technical Details
Message-ID:
<537@texas.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!stormShow Full Headers
Complete Article Headers
Message-ID: <537@texas.dk> Subject: How do you check whether inews has failed Date: Tue, 15 May 1990 14:32:52 +0000 From: storm@texas.dk (Kim F. Storm) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm Newsgroups: news.software.b,news.software.nn Keywords: inews Distribution: news Organization: Texas Instruments, Denmark Lines: 22 Posted: Tue May 15 15:32:52 1990