Commit 81274eb7 authored by Kirill Smelkov's avatar Kirill Smelkov

wcfs: Server.stop: Don't log "after SIGTERM" when first wait for wcfs.go exit failed

Here wcfs.go should have exited due to either unmount request, _or_
SIGTERM.
parent d0c4469a
...@@ -446,7 +446,7 @@ def __stop(wcsrv, ctx, _onstuck): ...@@ -446,7 +446,7 @@ def __stop(wcsrv, ctx, _onstuck):
if _procwait_(timeoutFrac(0.5), wcsrv._proc): if _procwait_(timeoutFrac(0.5), wcsrv._proc):
return return
log.warn("wcfs.go does not exit (after SIGTERM)") log.warn("wcfs.go does not exit")
log.warn("-> kill -QUIT wcfs.go ...") log.warn("-> kill -QUIT wcfs.go ...")
os.kill(wcsrv._proc.pid, SIGQUIT) os.kill(wcsrv._proc.pid, SIGQUIT)
......
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