aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vcs/vcs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index 0f917144a..cc182ef1a 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -188,8 +188,8 @@ func NewRepo(os, vm, dir string, opts ...RepoOpt) (Repo, error) {
return nil, fmt.Errorf("vcs is unsupported for %v", os)
}
-func NewSyzkallerRepo(dir string) Repo {
- git := newGit(dir, nil, []RepoOpt{OptDontSandbox})
+func NewSyzkallerRepo(dir string, opts ...RepoOpt) Repo {
+ git := newGit(dir, nil, append(opts, OptDontSandbox))
return git
}