jw.pkg.lib.util.run_cmd(): Fix mode:auto

In cmd_input == "mode:auto", the interactive variable is currently
not set due to a typo. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-18 13:31:22 +01:00
commit 82c6a44ad6

View file

@ -89,7 +89,7 @@ async def run_cmd(
# -- interactive mode
if cmd_input == "mode:auto" and sys.stdin.isatty():
cmd_input == "mode:interactive"
cmd_input = "mode:interactive"
if cmd_input == "mode:interactive":