Projet

Général

Profil

Révision a975706f

IDa975706fff37f47b773da07279812d3c90ad0281
Parent c9cc2f27
Enfant 2124a49d

Ajouté par Steve Schnepp il y a plus de 6 ans

plugins: another round of defined(@array) fixing

Voir les différences:

plugins/apache/apache_smaps
37 37
my $PNAME = exists $ENV{'pname'} ? $ENV{'pname'} : "httpd";
38 38
my $PUSER = exists $ENV{'puser'} ? $ENV{'puser'} : "apache";
39 39

  
40
if (defined(@ARGV) && ($ARGV[0] eq 'config')) {
40
if (@ARGV && ($ARGV[0] eq 'config')) {
41 41
  print "graph_title Apache Smaps\n";
42 42
  print "graph_args --base 1024 -l 0\n";
43 43
  print "graph_vlabel Bytes\n";

Formats disponibles : Unified diff