1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/init_unix.go
2021-06-21 09:45:10 +02:00

12 lines
192 B
Go

// +build !windows
package cmd
import "syscall"
func init() {
// unset umask otherwise permissions on file or directory
// creation are altered in unpredictable ways.
syscall.Umask(0)
}