Skip to content

Commit

Permalink
specgenutil: Fix parsing of mount option ptmxmode
Browse files Browse the repository at this point in the history
Fix typo: ptxmode -> ptmxmode

Reference: #24921

Signed-off-by: Erik Sjölund <[email protected]>
  • Loading branch information
eriksjolund committed Jan 7, 2025
1 parent e2e40b4 commit ef5b291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/specgenutil/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func getDevptsMount(args []string) (spec.Mount, error) {
for _, arg := range args {
name, value, hasValue := strings.Cut(arg, "=")
switch name {
case "uid", "gid", "mode", "ptxmode", "newinstance", "max":
case "uid", "gid", "mode", "ptmxmode", "newinstance", "max":
newMount.Options = append(newMount.Options, arg)
case "target", "dst", "destination":
if !hasValue {
Expand Down

0 comments on commit ef5b291

Please sign in to comment.