mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
lib.ec.ssh.Exec._run_ssh(): Fix: interactive ignored
Exec's _run_ssh() ignores its "interactive" parameter and uses the instances' default instead, fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4a8ccfb0a6
commit
f253466a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class Exec(Base):
|
|||
) -> Result:
|
||||
self.__init_askpass()
|
||||
if cmd_input is None:
|
||||
cmd_input = InputMode.Interactive if self.interactive else InputMode.NonInteractive
|
||||
cmd_input = InputMode.Interactive if interactive else InputMode.NonInteractive
|
||||
opts: dict[str, str] = []
|
||||
if env:
|
||||
for key, val in env.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue