mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:33:35 +03:00
perl: || die -> or die
Usage was fifty-fifty between these syntaxes before this patch. Closes #22036
This commit is contained in:
parent
5d1ac48088
commit
678e63934c
29 changed files with 69 additions and 69 deletions
|
|
@ -1185,7 +1185,7 @@ if($sshdid =~ /OpenSSH-Windows/) {
|
|||
|
||||
# Put an "exec" in front of the command so that the child process
|
||||
# keeps this child's process ID by being tied to the spawned shell.
|
||||
exec("exec $cmd") || die "Cannot exec() $cmd: $!";
|
||||
exec("exec $cmd") or die "Cannot exec() $cmd: $!";
|
||||
# exec() creates a new process, but ties the existence of the
|
||||
# new process to the parent waiting perl.exe and sh.exe processes.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue