diff --git a/virtcontainers/clh.go b/virtcontainers/clh.go index 4c36d9e1eb..efb2124e7b 100644 --- a/virtcontainers/clh.go +++ b/virtcontainers/clh.go @@ -680,7 +680,7 @@ func (clh *cloudHypervisor) virtiofsdArgs(sockPath string) ([]string, error) { func (clh *cloudHypervisor) shutdownVirtiofsd() (err error) { - err = syscall.Kill(-clh.state.VirtiofsdPID, syscall.SIGKILL) + err = syscall.Kill(clh.state.VirtiofsdPID, syscall.SIGKILL) if err != nil { clh.state.VirtiofsdPID = 0