Skip to content

Commit 6ce846b

Browse files
committed
fix: missing SSHPASS environment variable when starting tunnel with sshpass -e
1 parent d9b6f87 commit 6ce846b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/dbconnection.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,7 @@ procedure TSecureShellCmd.Connect;
11341134
EnvList := TStringList.Create;
11351135
for i := 0 to GetEnvironmentVariableCount - 1 do
11361136
EnvList.Add(GetEnvironmentString(i));
1137+
EnvList.Add(EnvSshpass);
11371138
FProcess.Environment := EnvList;
11381139
end;
11391140

0 commit comments

Comments
 (0)