For reference:
"cmd1 || cmd2" will execute cmd2 if cmd1 has a non-zero errorlevel
"cmd1 && cmd2" will execute cmd2 if cmd1 has a zero errorlevel
"cmd1 & cmd2" will always xecute cmd2
Commands submitted to concourse are joined with &&. Grouping the netrc
writing commands and exit 0 with () is needed for the || to have its intended
effect.
This has been tested and gives good results.
For reference: "cmd1 || cmd2" will execute cmd2 if cmd1 has a non-zero errorlevel "cmd1 && cmd2" will execute cmd2 if cmd1 has a zero errorlevel "cmd1 & cmd2" will always xecute cmd2
Commands submitted to concourse are joined with &&. Grouping the netrc writing commands and exit 0 with () is needed for the || to have its intended effect.