Do not exit if there's no test file
This commit is contained in:
parent
3cc3a6eb32
commit
3a6990458b
3
main.go
3
main.go
@ -314,7 +314,8 @@ func whatever(swg *sizedwaitgroup.SizedWaitGroup, ka artifact, ki kernelInfo,
|
|||||||
err = q.CopyFile("user", testPath, remoteTest)
|
err = q.CopyFile("user", testPath, remoteTest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("copy file err", err)
|
log.Println("copy file err", err)
|
||||||
return
|
// we should not exit because of testing 'insmod' part
|
||||||
|
// for kernel module
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = q.Command("root", "chmod +x "+remoteTest)
|
_, err = q.Command("root", "chmod +x "+remoteTest)
|
||||||
|
Loading…
Reference in New Issue
Block a user