mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-29 20:47:50 +00:00
clh: fixes erroneous killing of virtiofsd
remove type in kill statement for virtiofsd Fixes: #2270 Signed-off-by: Johan Kuijpers <johan.kuijpers@ericsson.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user