1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Merge pull request #648 from akorn/master

plugins/virtualization/vserver/vserver_jiffies: several enhancements (but zsh)
This commit is contained in:
sumpfralle 2016-10-21 01:45:00 +02:00 committed by GitHub
commit 78dea36c9c
2 changed files with 45 additions and 24 deletions

View file

@ -87,6 +87,14 @@ sub process_file {
}
);
}
elsif ( $interpreter =~ m{/bin/zsh} ) {
run_check(
{ command => [ 'zsh', '-n', $file ],
description => 'zsh syntax check',
filename => $filename
}
);
}
elsif ( $interpreter =~ m{perl} ) {
my $command;
if ( $arguments =~ m{-.*T}mx ) {