From 273d2a93bcc41f2aca83ccbd753b37d7d36ba925 Mon Sep 17 00:00:00 2001 From: James Becwar Date: Thu, 17 Jan 2013 18:26:47 +0000 Subject: [PATCH] Return exit code when -d option not supplied --- check_json.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/check_json.pl b/check_json.pl index 70a5ed4..b7652e0 100755 --- a/check_json.pl +++ b/check_json.pl @@ -59,6 +59,7 @@ eval { exit EXIT_CRITICAL; }; +$status = EXIT_OK; if ($opts{d}) {