mirror of
git://git.proxmox.com/git/pve-common.git
synced 2024-12-26 07:21:26 +03:00
Daemon: call terminate_server if we get unexpected errors
This commit is contained in:
parent
d7950851db
commit
8826037040
@ -341,7 +341,7 @@ my $server_run = sub {
|
||||
if ($err) {
|
||||
syslog ('err', "ERROR: $err");
|
||||
|
||||
# fixme: kill all workers
|
||||
&$terminate_server($self);
|
||||
|
||||
if (my $wait_time = $self->{restart_on_error}) {
|
||||
$self->restart_daemon($wait_time);
|
||||
|
Loading…
Reference in New Issue
Block a user