mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
remove grep for args
This commit is contained in:
parent
40ec9801f1
commit
928f9d3dfe
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ for my $graph (@str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show config
|
# 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_title Syslog-ng statistics\n";
|
||||||
print "graph_vlabel count\n";
|
print "graph_vlabel count\n";
|
||||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue