summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-09 11:35:03 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-09 11:35:03 +0100
commit95311d2e2c03d94f6bae0cacbac75fc1cd25b0e4 (patch)
tree960c12b0c7e87c508bcfcea2a99eec6fe34b03ee /NPTest.pm
parente3d2fccade397bbd6b318495192b4ca346becef0 (diff)
parent6dbc84f93595be81aee4de4ac3122b942047c22d (diff)
downloadmonitoring-plugins-95311d2e.tar.gz
Merge branch 'master' into refactor/check_game
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/NPTest.pm b/NPTest.pm
index 9b25ac3e..1c008589 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -15,6 +15,8 @@ use warnings;
15use Cwd; 15use Cwd;
16use File::Basename; 16use File::Basename;
17 17
18use JSON;
19
18use IO::File; 20use IO::File;
19use Data::Dumper; 21use Data::Dumper;
20 22
@@ -617,6 +619,8 @@ sub testCmd {
617 chomp $output; 619 chomp $output;
618 $object->output($output); 620 $object->output($output);
619 621
622 eval { $object->{'mp_test_result'} = decode_json($output) };
623
620 alarm(0); 624 alarm(0);
621 625
622 my ($pkg, $file, $line) = caller(0); 626 my ($pkg, $file, $line) = caller(0);