don't call Debug after select
This line was causing havoc when starting up zoneminder.
This commit is contained in:
parent
b071aaad7b
commit
a25f5f1b12
|
@ -315,7 +315,6 @@ sub run {
|
||||||
$secs_count += 1;
|
$secs_count += 1;
|
||||||
}
|
}
|
||||||
my $nfound = select(my $rout = $rin, undef, undef, $timeout);
|
my $nfound = select(my $rout = $rin, undef, undef, $timeout);
|
||||||
Debug("Aftere select $nfound");
|
|
||||||
if ( $nfound > 0 ) {
|
if ( $nfound > 0 ) {
|
||||||
if ( vec($rout, fileno(SERVER), 1) ) {
|
if ( vec($rout, fileno(SERVER), 1) ) {
|
||||||
my $paddr = accept(CLIENT, SERVER);
|
my $paddr = accept(CLIENT, SERVER);
|
||||||
|
|
Loading…
Reference in New Issue