🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Kim F. Storm Tue, 15 May 1990 14:32
How do you check whether inews has failed
#391
Author: Kim F. Storm
Date: Tue, 15 May 1990 14:32
22 lines
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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads