diff options
Diffstat (limited to 'syslogck')
-rw-r--r-- | syslogck | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -7,6 +7,8 @@ use Pod::Usage; use Pod::Man; use Getopt::Long qw(:config gnu_getopt no_ignore_case); +our $VERSION = '0.99'; + use constant { EX_OK => 0, EX_USAGE => 64, @@ -39,9 +41,9 @@ can be changed by supplying the name of the file in the command line. Multiple arguments are allowed. The configuration parser is very permissive. It selects only lines that -can reliably be parsed as traditional syslog selector lines. This allows to -use B<syslogck> with any flavor of syslog that allows for traditional -configuration (e.g. B<rsyslogd>). +can reliably be parsed as traditional syslog selector lines, and silently +ignores the rest. This allows to use B<syslogck> with any flavor of syslog +that allows for traditional configuration (e.g. B<rsyslogd>). On success (test message appeared in the log), B<syslogck> silently exits with code B<0>. If the message did not appear in the log within the time out period, |