From 1c7e7199637f711fd368bc72c24a927cea3a7785 Mon Sep 17 00:00:00 2001 From: James Becwar Date: Thu, 17 Jan 2013 18:26:47 +0000 Subject: [PATCH] Fixes an issue where if you do something like: check_json.pl -U http://api.thegreensheet.com/Ads/GetTop20AdsInSubCategory/houston/Animals%20Pets%20and%20More it will parse ok, but exit unknown. --- 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}) {