Changeset 3841

Show
Ignore:
Timestamp:
07/28/10 14:42:08 (1 month ago)
Author:
ligne
Message:

check the node in run() rather than new(). that way the tests don't all break.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/node/lib/Munin/Node/ProxySpooler.pm

    r3840 r3841  
    2727 
    2828    $args{spool} = Munin::Node::SpoolWriter->new(spooldir => $args{spooldir}); 
    29  
    30     croak "No pidfile specified" unless $args{pid_file}; 
    3129 
    3230    # don't want to run as root unless absolutely necessary.  but only root 
     
    5250 
    5351    my %poller_restarted;  # when each service's poller was last restarted 
     52 
     53    croak "No pidfile specified" unless $args{pid_file}; 
    5454 
    5555    # Daemonzises, and runs for cover.