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 d7f9a27..ee3c67c 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);
     }