aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-execprog/execprog.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syz-execprog/execprog.go')
-rw-r--r--tools/syz-execprog/execprog.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go
index b246c4263..ad75909eb 100644
--- a/tools/syz-execprog/execprog.go
+++ b/tools/syz-execprog/execprog.go
@@ -484,14 +484,14 @@ func checkerExecutor(ctx context.Context, source queue.Source, config *ipc.Confi
Status: queue.Success,
Info: info,
Output: output,
+ Err: err,
}
if err != nil {
res.Status = queue.ExecFailure
- res.Error = err.Error()
}
if hanged && err == nil {
res.Status = queue.ExecFailure
- res.Error = "hanged"
+ res.Err = fmt.Errorf("hanged")
}
req.Done(res)
}