Fixed process stderr code

This commit is contained in:
Dimitris Zlatanidis 2023-12-01 23:53:47 +02:00
parent ab026bba19
commit 3e11c2cf95
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,9 @@
* [Tracking] Returns the complete list of dependencies of a package
* Process exit status code message
- Fixed:
* Process stderr exit code
- Added:
* pprkut repository

View file

@ -153,7 +153,7 @@ class Utilities(Configs):
def process(self, command: str, stderr=None, stdout=None, filename=None) -> None:
""" Handle the processes. """
output = tee = ''
if filename and self.process_log:
if filename and filename.endswith('.SlackBuild') and self.process_log:
self.header_process_log(filename)
tee: str = (
f' | tee -a {self.slpkg_log_path}/{filename}_'