+nagios-plugins-local (0.16) unstable; urgency=medium
+
+ * check_configtool:
+ - fix regex (again)
+
+ -- Michael Howe <michael@michaelhowe.org> Sat, 09 Dec 2017 15:01:59 +0000
+
nagios-plugins-local (0.15) unstable; urgency=medium
* check_md_raid:
my $cronjob_exists = 0;
CRONTABS: foreach my $file ( glob '/etc/cron.d/*' ){
# letters, digits, underscores and hyphens, per cron(8)
- next unless $file =~ m{^[a-z0-9_-]+$}i;
+ next unless $file =~ m{^.*/[a-z0-9_-]+$}i;
open( my $fh, "<", $file )
or die "Could not open $file for reading: $!";
while( my $line = <$fh> ){