From c831b6deb36a87225da7005f5674d442dfc884a2 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 Signed-off-by: Brendan A Gallagher --- 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 affa043bfb..16de62aedc 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.20.1