Updated process exit code

This commit is contained in:
Dimitris Zlatanidis 2023-12-03 19:22:22 +02:00
parent ea6289122a
commit b42865cbb4

View file

@ -94,7 +94,7 @@ class Utilities(Configs):
def finished_time(self, elapsed_time: float) -> None:
""" Printing the elapsed time. """
print(f'\n{self.yellow}Finished successfully:{self.endc}',
print(f'\n{self.yellow}Finished:{self.endc}',
time.strftime(f'{self.cyan}%H:%M:%S{self.endc}',
time.gmtime(elapsed_time)))
@ -172,7 +172,7 @@ class Utilities(Configs):
raise SystemExit(1)
if output.returncode != 0:
self.errors.raise_error_message(str(command), exit_status=output.returncode)
raise SystemExit(output.returncode)
def header_process_log(self, filename: str) -> None:
""" Creates the build log file and the header. """