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:
Johan Kuijpers 2019-11-26 09:12:13 +01:00
parent 6af127f7f9
commit 3ef8f6cf1b

View File

@ -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