projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d795085
)
Daemon: call terminate_server if we get unexpected errors
author
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 1 Jan 2015 11:06:17 +0000
(12:06 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 1 Jan 2015 11:06:17 +0000
(12:06 +0100)
data/PVE/Daemon.pm
patch
|
blob
|
history
diff --git
a/data/PVE/Daemon.pm
b/data/PVE/Daemon.pm
index
7b39920
..
838d596
100644
(file)
--- a/
data/PVE/Daemon.pm
+++ b/
data/PVE/Daemon.pm
@@
-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);