Fix check for FSL #454
2 changed files with 4 additions and 1 deletions
1
docs/changes/newsfragments/454.bugfix
Normal file
1
docs/changes/newsfragments/454.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix FSL presence checking status code by `Fede Raimondo`_
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue