mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated process exit code
This commit is contained in:
parent
ea6289122a
commit
b42865cbb4
1 changed files with 2 additions and 2 deletions
|
@ -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. """
|
||||
|
|
Loading…
Reference in a new issue