From c89edb9863e1e9daad3d99dc1b4ca887b7ab7523 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 21 Mar 2016 15:04:56 +0000 Subject: [PATCH] Bug 16039: Remove useless exit pod2usage will exit with the status given in parameter. Signed-off-by: Jonathan Druart --- misc/cronjobs/share_usage_with_koha_community.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/cronjobs/share_usage_with_koha_community.pl b/misc/cronjobs/share_usage_with_koha_community.pl index affa043..16de62a 100755 --- a/misc/cronjobs/share_usage_with_koha_community.pl +++ b/misc/cronjobs/share_usage_with_koha_community.pl @@ -19,8 +19,7 @@ GetOptions( ) || pod2usage(1); if ($help) { - pod2usage(1); - exit; + pod2usage(0); } unless ( C4::Context->preference('UsageStats') ) { -- 2.7.0