mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-12 13:22:28 +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:
parent
6af127f7f9
commit
3ef8f6cf1b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user