mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 09:01:32 +00:00
close inotify handle before restart/exec
This commit is contained in:
parent
060b19b635
commit
c8a8385a8c
@ -396,6 +396,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?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user