summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2014-12-19 13:44:31 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-12-19 13:44:31 (GMT)
commite11146fd1b10a8cf565ddf0c73b555ccfed21b59 (patch) (side-by-side diff)
treec04c77339ab07db152827c369143c48e4518e904
parentd8f25ca5f84413187ba4a41c09d552beeb2c0658 (diff)
downloaddnstools-e11146fd1b10a8cf565ddf0c73b555ccfed21b59.tar.gz
dnstools-e11146fd1b10a8cf565ddf0c73b555ccfed21b59.tar.bz2
Minor change
* whoseip/whoseip.pl: Use symbolic exit codes.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--whoseip/whoseip.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whoseip/whoseip.pl b/whoseip/whoseip.pl
index 87974f6..225a159 100644
--- a/whoseip/whoseip.pl
+++ b/whoseip/whoseip.pl
@@ -712,7 +712,7 @@ if (defined($ENV{WHOSEIP_CONF})) {
GetOptions("h" => sub {
pod2usage(-message => "$progname: $progdescr",
- -exitstatus => 0);
+ -exitstatus => EX_OK);
},
"help" => sub {
pod2usage(-exitstatus => EX_OK, -verbose => 2);

Return to:

Send suggestions and report system problems to the System administrator.