Skip to content

Commit

Permalink
Update pkg/unshare/unshare_linux.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Holzinger <45212748+Luap99@users.noreply.github.com>
  • Loading branch information
rhatdan and Luap99 committed Apr 5, 2022
1 parent 0b97e38 commit 57d69d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/unshare/unshare_linux.go
Expand Up @@ -78,7 +78,7 @@ func getRootlessGID() int {
}

func isSetUid(path string) (bool, error) {
info, err := os.Stat(os.Args[1])
info, err := os.Stat(path)
if err != nil {
return false, err
}
Expand Down

0 comments on commit 57d69d4

Please sign in to comment.