Fix permission for mkdir output folder

This commit is contained in:
kolaente 2020-09-16 20:10:11 +02:00
parent 04ffeb6b12
commit f763253c0f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func main() {
}
outPath := path.Join(workingDir, "qrcodes")
if err := os.MkdirAll(outPath, 0755); err != nil {
if err := os.MkdirAll(outPath, os.ModePerm); err != nil {
handleErr("Could not create output folder: %s", err)
}