]> git.proxmox.com Git - qemu-server.git/commit
do not overwrite global signal handlers
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 14 Sep 2017 13:19:39 +0000 (15:19 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 14 Sep 2017 13:25:28 +0000 (15:25 +0200)
commit6cb0144ae33ceddcf719d4a879bea7ffde591be2
treee72f4761139ecb729e02252353632b4cc581c288
parentd296ed08d3bd85d9ccd730e12f7b7243bf2e08c0
do not overwrite global signal handlers

perls 'local' must be either used in front of each $SIG{...}
assignments or they must be put in a list, else it affects only the
first variable and the rest are *not* in local context.

In all cases the global signal handlers we overwrote were in cli programs or
forked workers, not in daemons.
PVE/API2/Qemu.pm
PVE/QemuServer.pm
PVE/QemuServer/ImportDisk.pm