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():