Skip to content

Commit 6ee55e8

Browse files
VeykrilZed Zippy
authored andcommitted
askpass: Fix double command ampersand in powershell script (#43289)
Fixes #42618 / #43109 Release Notes: - N/A
1 parent de2c00b commit 6ee55e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/askpass/src/askpass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ fn generate_askpass_script(
374374
Ok(format!(
375375
r#"
376376
$ErrorActionPreference = 'Stop';
377-
($args -join [char]0) | & {askpass_program} --askpass={askpass_socket} 2> $null
377+
($args -join [char]0) | {askpass_program} --askpass={askpass_socket} 2> $null
378378
"#,
379379
))
380380
}

0 commit comments

Comments
 (0)