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";
plugins/other/proc_
242 242
# Bail-function.
243 243
sub usage
244 244
{
245
    if (defined(@_) && "@_" ne "") {
245
    if (@_ && "@_" ne "") {
246 246
        print STDERR "@_" . "\n\n";
247 247
    }
248 248
    print STDERR "Known arguments: suggest, config, autoconf.\n";

Formats disponibles : Unified diff