mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 21:51:21 +02: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:
parent
55698c8511
commit
d92789affa
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user