Skip to content

Commit b44a893

Browse files
authored
Merge pull request #513 from q384566678/seccompSet-fix
generate: fixed seccompSet
2 parents eead136 + 045bc5f commit b44a893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/oci-runtime-tool/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ func addSeccomp(context *cli.Context, g *generate.Generator) error {
11681168
}
11691169

11701170
func seccompSet(context *cli.Context, seccompFlag string, g *generate.Generator) error {
1171-
flagInput := context.String("seccomp-" + seccompFlag)
1171+
flagInput := context.String("linux-seccomp-" + seccompFlag)
11721172
flagArgs := strings.Split(flagInput, ",")
11731173
setSyscallArgsSlice := []seccomp.SyscallOpts{}
11741174
for _, flagArg := range flagArgs {

0 commit comments

Comments
 (0)