aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-plugins/check_kernel_status
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-plugins/check_kernel_status')
-rwxr-xr-xnagios-plugins/check_kernel_status3
1 files changed, 2 insertions, 1 deletions
diff --git a/nagios-plugins/check_kernel_status b/nagios-plugins/check_kernel_status
index bee9dfe..cd1c96d 100755
--- a/nagios-plugins/check_kernel_status
+++ b/nagios-plugins/check_kernel_status
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# check_kernel_status : check if the running kernel is the latest installed
# By Toni Van Remortel [toni.van.remortel@p-ops.be]
# 2008-07-28
@@ -7,6 +7,7 @@
# http://www.monitoringexchange.org/attachment/download/Check-Plugins/Operating-Systems/Linux/Running-kernel-compared-to-installed-kernel-version/check_kernel_status
use strict;
+use warnings;
my $OK = 0;
my $WARN = 1;