Commit 5934b060 authored by Dietmar Maurer's avatar Dietmar Maurer

close inotify handle before restart/exec

parent c80570b6
...@@ -396,6 +396,8 @@ sub restart_server { ...@@ -396,6 +396,8 @@ sub restart_server {
sleep($waittime) if $waittime; # avoid high server load due to restarts sleep($waittime) if $waittime; # avoid high server load due to restarts
PVE::INotify::inotify_close();
exec (@$commandline); exec (@$commandline);
exit (-1); # never reached? exit (-1); # never reached?
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment