From e4bae43d668ab09e07e14e3e00e5aa5da51436b8 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Wed, 10 Jan 2024 10:47:12 +0100 Subject: [PATCH] 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. --- doc/fping.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fping.pod b/doc/fping.pod index ac2eb3ef..cf5aa5d3 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.