From: Dietmar Maurer Date: Thu, 22 May 2014 07:50:59 +0000 (+0200) Subject: close inotify handle before restart X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3e998704740ed348e2906a8b8e71ee05dae4e548;p=pve-firewall.git close inotify handle before restart --- diff --git a/src/pve-firewall b/src/pve-firewall index 034f933..3c418c0 100755 --- a/src/pve-firewall +++ b/src/pve-firewall @@ -58,6 +58,8 @@ sub restart_server { sleep($waittime) if $waittime; # avoid high server load due to restarts + PVE::INotify::inotify_close(); + exec (@$commandline); exit (-1); # never reached? }