Skip to content

Commit

Permalink
Update exit status description in man page
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
auerswal authored and schweikert committed Feb 4, 2024
1 parent 2a609b8 commit e4bae43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/fping.pod
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ B<fping website: L<http://www.fping.org>>

=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.

Expand Down

0 comments on commit e4bae43

Please # to comment.