2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

remove grep for args

This commit is contained in:
Roman V. Nikolaev 2013-05-12 16:31:12 +04:00
parent 40ec9801f1
commit 928f9d3dfe

View File

@ -100,7 +100,7 @@ for my $graph (@str) {
}
# Show config
if( grep m{^config$}, @ARGV ) {
if( exists $ARGV[0] and $ARGV[0] eq "config" ) {
print "graph_title Syslog-ng statistics\n";
print "graph_vlabel count\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";