From 08146b1a84f975e2cc1007242b4202dc5cc0e5c5 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 24 Jan 2018 19:28:36 +0100 Subject: sys/linux: extend netfilter descriptions --- pkg/csource/options.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/csource/options.go') 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, -- cgit mrf-deployment