Changeset 9b3ba7bdbc8d3a7d32b3a0b1507354a690562b94

Show
Ignore:
Timestamp:
05/06/10 03:36:10 (4 years ago)
Author:
Jason Dixon <jdixon@omniti.com>
git-committer:
Jason Dixon <jdixon@omniti.com> 1273116970 +0000
git-parent:

[0bd15e6f0f269b655a4b3fc61231a9372ccbb51d]

git-author:
Jason Dixon <jdixon@omniti.com> 1273116970 +0000
Message:

catch permissions fail

git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@354 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Core/Pf/Queues.pm

    r1bd136a r9b3ba7b  
    6161    my $config = $self->{'config'}; 
    6262    my $pfctl_path = $config->{'pfctl_path'} || 'pfctl'; 
    63     my $output = run_command("$pfctl_path -vsq")
     63    my $output = run_command("$pfctl_path -vsq") || die "Unable to execute: $pfctl_path"
    6464    my $osname = $^O; 
    6565    my %metrics; 
  • lib/Core/Pf/Status.pm

    r5640d96 r9b3ba7b  
    9090    my $config = $self->{'config'}; 
    9191    my $pfctl_path = $config->{'pfctl_path'} || 'pfctl'; 
    92     my $output = run_command("$pfctl_path -si")
     92    my $output = run_command("$pfctl_path -si") || die "Unable to execute: $pfctl_path"
    9393    my $osname = $^O; 
    9494    my %metrics;