Fix check for FSL #454

Merged
fraimondo merged 2 commits from fix/fsl_check into main 2025-09-16 17:28:53 +00:00
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix FSL presence checking status code by `Fede Raimondo`_

View file

@ -155,7 +155,9 @@ def _check_fsl(commands: Optional[list[str]] = None) -> bool:
shell=True, # is unsafe but kept for resolution via PATH
check=False,
)
fsl_found = completed_process.returncode == 1
fsl_found = (
completed_process.returncode == 1 or completed_process.returncode == 0
)
# Check for specific commands
if fsl_found and commands is not None: