Bug 16039: Remove useless exit
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Mar 2016 15:04:56 +0000 (15:04 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 20:57:22 +0000 (20:57 +0000)
pod2usage will exit with the status given in parameter.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
misc/cronjobs/share_usage_with_koha_community.pl

index affa043..16de62a 100755 (executable)
@@ -19,8 +19,7 @@ GetOptions(
 ) || pod2usage(1);
 
 if ($help) {
-    pod2usage(1);
-    exit;
+    pod2usage(0);
 }
 
 unless ( C4::Context->preference('UsageStats') ) {