Merge pull request #3452 from gonzalezcalleja/fix_zmpkg_capturing

Fix zmpkg recording status
pull/3454/head
Isaac Connor 2022-03-09 14:42:18 -05:00 committed by GitHub
commit d76f2e4b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ if ( $command and ( $command !~ /^(?:start|stop|restart|status|logrot|version)$/
Error("Unknown function $function, defaulting to Mocord");
}
} elsif (@state == 4) {
($id, $capturing, $analysing, $capturing) = @state;
($id, $capturing, $analysing, $recording) = @state;
} else {
Error("Unknown state in @state");
}