From: Erik Auerswald Date: Wed, 10 Jan 2024 09:47:12 +0000 (+0100) Subject: Update exit status description in man page X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4bae43d668ab09e07e14e3e00e5aa5da51436b8;p=fping.git Update exit status description in man page With the options -x and -X, fping does not require all hosts to be reachable for an exit status of 0. This addresses a comment in issue #99 suggesting such a man page update. --- diff --git a/doc/fping.pod b/doc/fping.pod index ac2eb3e..cf5aa5d 100644 --- a/doc/fping.pod +++ b/doc/fping.pod @@ -274,7 +274,8 @@ B> =head1 DIAGNOSTICS -Exit status is 0 if all the hosts are reachable, 1 if some hosts +Exit status is 0 if all the hosts (or the number of hosts specified with B<-x> +or B<-X>) are reachable, 1 if some (or too many with B<-x> or B<-X>) hosts were unreachable, 2 if any IP addresses were not found, 3 for invalid command line arguments, and 4 for a system call failure.