Skip to content

Commit

Permalink
Pleasing mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Torxed committed Jul 30, 2023
1 parent 5808702 commit 7f4cb45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,8 @@ def mkinitcpio(self, flags: List[str], locale_config: LocaleConfiguration) -> bo
SysCommand(f'/usr/bin/arch-chroot {self.target} mkinitcpio {" ".join(flags)}', peek_output=True)
return True
except SysCallError as error:
log(error.worker._trace_log.decode())
if error.worker:
log(error.worker._trace_log.decode())
return False

def minimal_installation(
Expand Down

0 comments on commit 7f4cb45

Please sign in to comment.