oping: Make the exit status the number of hosts failed.
authorFlorian Forster <ff@octo.it>
Wed, 7 Sep 2011 01:08:32 +0000 (21:08 -0400)
committerFlorian Forster <ff@octo.it>
Wed, 7 Sep 2011 01:08:32 +0000 (21:08 -0400)
As far as I know, EXIT_FAILURE is only portable when used as-is, i.e. without
adding anything to it. Especially with "EXIT_FAILURE == -1" we might run into
trouble. I think it's more convenient to just use the number of failed hosts
rather than 1+<num> (on Linux).


No differences found