Skip to content

Commit

Permalink
Update os.go
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Antunes <leo@costela.net>
  • Loading branch information
s4ke and costela committed Dec 5, 2022
1 parent 196b839 commit d74ce8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func chownIfEmpty(dir string, uid int, gid int) error {
func setPermissions(dev, fstype string, uid int, gid int, mountOptions string) error {
tmpDir, err := os.MkdirTemp(os.TempDir(), "mnt-*")
if err != nil {
return fmt.Errorf("failed creating temp dir for setting permissions")
return fmt.Errorf("failed creating temp dir for setting permissions: %w", err)
}

if err := mount.Mount(
Expand Down

0 comments on commit d74ce8c

Please sign in to comment.