1
0

Do not exit if there's no test file

This commit is contained in:
dump_stack() 2018-10-31 19:08:01 +00:00
parent 3cc3a6eb32
commit 3a6990458b

View File

@ -314,7 +314,8 @@ func whatever(swg *sizedwaitgroup.SizedWaitGroup, ka artifact, ki kernelInfo,
err = q.CopyFile("user", testPath, remoteTest)
if err != nil {
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)