1
0
Fork 0

Do not exit if there's no test file

master
dump_stack() 4 years ago
parent 3cc3a6eb32
commit 3a6990458b

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

Loading…
Cancel
Save