1
0
Fork 0

Do not exit if there's no test file

timestamps
dump_stack() 2018-10-31 19:08:01 +00:00
parent 3cc3a6eb32
commit 3a6990458b
1 changed files with 2 additions and 1 deletions

View File

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