--- fping-2.4b2/fping.c.orig-no_hosts_alive_exit	2007-01-23 22:02:41.000000000 -0200
+++ fping-2.4b2/fping.c	2007-01-23 22:05:06.000000000 -0200
@@ -1235,10 +1235,12 @@
 
 	if( num_noaddress )
 		exit( 2 );
-	else if( num_alive != num_hosts )
+	else if( num_alive == 0 )		/* NO hosts alive */
+		exit( 5 );
+	else if( num_alive != num_hosts )	/* SOME hosts alive */
 		exit( 1 ); 
 	
-	exit(0);
+	exit(0);				/* ALL hosts alive */
 
 } /* finish() */
 
--- fping-2.4b2/fping.8.orig-no_hosts_alive_exit	2007-01-23 22:02:41.000000000 -0200
+++ fping-2.4b2/fping.8	2007-01-23 22:06:53.000000000 -0200
@@ -198,9 +198,9 @@
 fping website:  http://www.fping.com
 .ni
 .SH DIAGNOSTICS
-Exit status is 0 if all the hosts are reachable, 1 if some hosts were
-unreachable, 2 if any IP addresses were not found, 3 for invalid
-command line arguments, and 4 for a system call failure.
+Exit status is 0 if all the hosts are reachable, 5 if ALL of the hosts were 
+unreachable, 1 if SOME hosts were unreachable, 2 if any IP addresses were not found,
+3 for invalid command line arguments, and 4 for a system call failure.
 .SH BUGS
 Ha! If we knew of any we would have fixed them!
 .SH RESTRICTIONS
