Avoid launching 2 status (closes: #934)
This commit is contained in:
parent
63337070ec
commit
08408218fa
|
@ -137,8 +137,8 @@ sub _mustBeDefined {
|
|||
}
|
||||
|
||||
sub init {
|
||||
my ( $self, $args ) = @_;
|
||||
unless ( ref $args ) {
|
||||
my($self,$args) = @_;
|
||||
unless(ref $args) {
|
||||
$self->error('init argument must be a hashref');
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -100,6 +100,7 @@ sub serverSignatureInit {
|
|||
# Launch the status process
|
||||
sub statusInit {
|
||||
my ( $class, $tsv ) = @_;
|
||||
return if ( $tsv->{statusPipe} and $tsv->{statusOut} );
|
||||
require IO::Pipe;
|
||||
$statusPipe = IO::Pipe->new;
|
||||
$statusOut = IO::Pipe->new;
|
||||
|
|
Loading…
Reference in New Issue
Block a user