INN commit: branches/2.5 (doc/pod/innd.pod innd/innd.c)
INN Commit
rra at isc.org
Sun Jul 17 18:41:42 UTC 2011
Date: Sunday, July 17, 2011 @ 11:41:42
Author: iulius
Revision: 9267
let innd -S check incoming.conf
The fully-useful check will have to wait for the new config parser being
used...
Thanks to Florian Schlichting for this new -S flag.
Modified:
branches/2.5/doc/pod/innd.pod
branches/2.5/innd/innd.c
------------------+
doc/pod/innd.pod | 7 ++++++-
innd/innd.c | 6 +++++-
2 files changed, 11 insertions(+), 2 deletions(-)
Modified: doc/pod/innd.pod
===================================================================
--- doc/pod/innd.pod 2011-07-17 18:38:56 UTC (rev 9266)
+++ doc/pod/innd.pod 2011-07-17 18:41:42 UTC (rev 9267)
@@ -4,7 +4,7 @@
=head1 SYNOPSIS
-B<innd> [B<-aCdfNrsu>] [B<-4> I<address>] [B<-6> I<address>] [B<-c> I<days>]
+B<innd> [B<-aCdfNrsSu>] [B<-4> I<address>] [B<-6> I<address>] [B<-c> I<days>]
[B<-H> I<count>] [B<-i> I<count>] [B<-l> I<size>] [B<-m> I<mode>]
[B<-n> I<flag>] [B<-o> I<count>] [B<-P> I<port>] [B<-t> I<timeout>]
[B<-T> I<count>] [B<-X> I<seconds>]
@@ -212,6 +212,11 @@
exit with a non-zero status if any errors are found; the actual errors
will be reported via syslog(3).
+=item B<-S>
+
+Report errors found in F<incoming.conf> via syslog(3) and exit normally.
+(Yes, this is less useful than it should be.)
+
=item B<-t> I<seconds>
Normally, B<innd> will flush any changes to history and the F<active> file
Modified: innd/innd.c
===================================================================
--- innd/innd.c 2011-07-17 18:38:56 UTC (rev 9266)
+++ innd/innd.c 2011-07-17 18:41:42 UTC (rev 9267)
@@ -411,7 +411,7 @@
/* Parse JCL. */
CCcopyargv(av);
- while ((i = getopt(ac, av, "4:6:ac:CdfH:i:l:m:n:No:P:rst:T:uX:")) != EOF)
+ while ((i = getopt(ac, av, "4:6:ac:CdfH:i:l:m:n:No:P:rsSt:T:uX:")) != EOF)
switch (i) {
default:
Usage();
@@ -489,6 +489,10 @@
case 's':
ShouldSyntaxCheck = true;
break;
+ case 'S':
+ RCreadlist();
+ exit(0);
+ break;
case 't':
TimeOut.tv_sec = atol(optarg);
break;
More information about the inn-committers
mailing list