aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/options.go')
-rw-r--r--pkg/csource/options.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/csource/options.go b/pkg/csource/options.go
index e253b3cdf..6d5f18fd5 100644
--- a/pkg/csource/options.go
+++ b/pkg/csource/options.go
@@ -46,6 +46,9 @@ func (opts Options) Check() error {
// This does not affect generated code.
return errors.New("Procs>1 without Repeat")
}
+ if !opts.Repeat && opts.WaitRepeat {
+ return errors.New("WaitRepeat without Repeat")
+ }
if opts.Sandbox == "namespace" && !opts.UseTmpDir {
// This is borken and never worked.
// This tries to create syz-tmp dir in cwd,