solve issue

This commit is contained in:
Mery-Sanz 2025-05-19 14:36:19 +02:00 committed by Mery-Sanz
parent 0130eaa5ba
commit 7b6f08ecf2
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ def run_command(command, ctf=None, stdout=False, # pylint: disable=too-many-arg
is_ssh_env = all(os.getenv(var) for var in ['SSH_USER', 'SSH_HOST'])
# --- Docker Container Execution ---
if active_container and not ctf and not is_ssh_env:
if active_container and not is_ssh_env:
container_id = active_container
container_workspace = _get_container_workspace_path()
context_msg = f"(docker:{container_id[:12]}:{container_workspace})"