aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/bwrap/config.pair.go
diff options
context:
space:
mode:
Diffstat (limited to 'helper/bwrap/config.pair.go')
-rw-r--r--helper/bwrap/config.pair.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/bwrap/config.pair.go b/helper/bwrap/config.pair.go
index b0b1001b..049edafe 100644
--- a/helper/bwrap/config.pair.go
+++ b/helper/bwrap/config.pair.go
@@ -47,7 +47,7 @@ func (c *Config) pairArgs() (n [pairC][][2]string) {
n[Chmod] = make([][2]string, 0, len(c.Chmod))
for path, octal := range c.Chmod {
- n[Chmod] = append(n[Chmod], [2]string{strconv.Itoa(int(octal)), path})
+ n[Chmod] = append(n[Chmod], [2]string{strconv.FormatInt(int64(octal), 8), path})
}
return