mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 16:03:48 +03:00
umask logging line tweak
This commit is contained in:
parent
f2fd6241a0
commit
210fd34702
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ func CheckUmask() error {
|
|||
old := syscall.Umask(007)
|
||||
syscall.Umask(old)
|
||||
if old&7 != 7 {
|
||||
return fmt.Errorf(`umask must have "7" for world/other, e.g. 007, not current %o`, old)
|
||||
return fmt.Errorf(`umask must have 7 for world/other, e.g. 007, not current %03o`, old)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue