diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-24 19:28:36 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-27 17:08:43 +0100 |
| commit | 08146b1a84f975e2cc1007242b4202dc5cc0e5c5 (patch) | |
| tree | ad9f57cfbed4b9008223359d0f765a2b6a27a209 /pkg/csource/options.go | |
| parent | 5d7477249ba074bbdc9ffbf80314397dbe90e886 (diff) | |
sys/linux: extend netfilter descriptions
Diffstat (limited to 'pkg/csource/options.go')
| -rw-r--r-- | pkg/csource/options.go | 3 |
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, |
