Fix zmpkg recording status

pull/3452/head
Javier Gonzalez 2022-03-09 19:40:04 +01:00
parent e943f0a411
commit 4a1dbc884d
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");
}