Révision 928f9d3d
remove grep for args
| plugins/syslog/syslog_ng_stats | ||
|---|---|---|
| 100 | 100 |
} |
| 101 | 101 |
|
| 102 | 102 |
# Show config |
| 103 |
if( grep m{^config$}, @ARGV ) {
|
|
| 103 |
if( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
|
| 104 | 104 |
print "graph_title Syslog-ng statistics\n"; |
| 105 | 105 |
print "graph_vlabel count\n"; |
| 106 | 106 |
print "graph_args --base 1000 --lower-limit 0 --rigid\n"; |
Formats disponibles : Unified diff