From adc3e6b4c99c0be70bf42e82f209088fd166efbb Mon Sep 17 00:00:00 2001 From: Juraj Smiesko <34742917+kjvbrt@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:01:29 +0100 Subject: [PATCH] Removing hash command (#428) * Removing hash command * Closing the bracket --- python/build_analysis.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/build_analysis.py b/python/build_analysis.py index a01d462a1ab..fac8268eb94 100644 --- a/python/build_analysis.py +++ b/python/build_analysis.py @@ -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: