From d1387949245890f4a2ea2b81b87d0331543d6875 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 5 Apr 2018 15:23:18 +0200 Subject: [PATCH] Remove old smartmatch warning workarround --- check_backuppc_du | 4 ---- 1 file changed, 4 deletions(-) diff --git a/check_backuppc_du b/check_backuppc_du index be594a3..f9e6464 100755 --- a/check_backuppc_du +++ b/check_backuppc_du @@ -31,10 +31,6 @@ use strict; no utf8; -# Suppress warnings about smartmatch being experimental -# Found here: http://blogs.perl.org/users/mike_b/2013/06/a-little-nicer-way-to-use-smartmatch-on-perl-518.html -no if $] >= 5.017011, warnings => 'experimental::smartmatch'; - # Nagios use lib "/usr/lib/nagios/plugins"; use utils qw(%ERRORS $TIMEOUT);