]> git.proxmox.com Git - pve-common.git/commitdiff
daemon: add missing parenthesis around list
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Nov 2017 11:24:05 +0000 (12:24 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Nov 2017 11:24:06 +0000 (12:24 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Fixes: 0da5a3e43b16 ("daemon: refactor and cleanup")
src/PVE/Daemon.pm

index d7f9a279f34852e9d9101ef76bf340c2480eec20..ee3c67c4d4895fb6bcbae008946f7228263a619f 100644 (file)
@@ -490,7 +490,7 @@ sub restart_daemon {
     }
 
     if ($self->{max_workers}) {
-       my @workers = keys %{$self->{workers}}, keys %{$self->{old_workers}};
+       my @workers = (keys %{$self->{workers}}, keys %{$self->{old_workers}});
        $ENV{PVE_DAEMON_WORKER_PIDS} = join(':', @workers);
     }