From 210fd34702b9a286da63c0fe77286d38bc4489e3 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Wed, 22 Feb 2023 23:26:00 +0100 Subject: [PATCH] umask logging line tweak --- moxio/umask.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moxio/umask.go b/moxio/umask.go index 73fc493..9fd7edb 100644 --- a/moxio/umask.go +++ b/moxio/umask.go @@ -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 }