Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
clh: fixes erroneous killing of virtiofsd
Browse files Browse the repository at this point in the history
remove type in kill statement for virtiofsd

Fixes: #2270

Signed-off-by: Johan Kuijpers <johan.kuijpers@ericsson.com>
  • Loading branch information
ericooper committed Nov 26, 2019
1 parent 6af127f commit 3ef8f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtcontainers/clh.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ef8f6c

Please sign in to comment.