mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-23 11:27:29 +00:00
tool/gocross: don't set executable bits on PowerShell script
Updates https://github.com/tailscale/corp/issues/29940 Signed-off-by: Aaron Klotz <aaron@tailscale.com>
This commit is contained in:
@@ -74,7 +74,7 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
psFileName := strings.TrimSuffix(os.Args[2], filepath.Ext(os.Args[2])) + ".ps1"
|
||||
if err := atomicfile.WriteFile(psFileName, wrapperScriptPowerShell, 0755); err != nil {
|
||||
if err := atomicfile.WriteFile(psFileName, wrapperScriptPowerShell, 0644); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "writing PowerShell wrapper script: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user