Skip to content

Commit

Permalink
Removing hash command (#428)
Browse files Browse the repository at this point in the history
* Removing hash command

* Closing the bracket
  • Loading branch information
kjvbrt authored Feb 21, 2025
1 parent f09b4dc commit adc3e6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/build_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ def run_subprocess(command: str, run_dir: str) -> None:
status: int = proc.wait()

if status != 0:
LOGGER.error('Error encountered!\nAborting...')
os.system('hash -d fccanalysis')
LOGGER.error('Error encountered!\n'
'In case `fccanalysis` command is broken, you can try recovering with:\n'
' hash -d fccanalysis\n'
'Aborting...')
sys.exit(3)

except KeyboardInterrupt:
Expand Down

0 comments on commit adc3e6b

Please sign in to comment.