From f253466a3f0b783b7704fe8682ab0cbc1482387f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 17 Apr 2026 17:49:53 +0200 Subject: [PATCH] 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 --- src/python/jw/pkg/lib/ec/ssh/Exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/ec/ssh/Exec.py b/src/python/jw/pkg/lib/ec/ssh/Exec.py index ba6a02e6..f9a208b4 100644 --- a/src/python/jw/pkg/lib/ec/ssh/Exec.py +++ b/src/python/jw/pkg/lib/ec/ssh/Exec.py @@ -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():