index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Varun Madiath <vamega@gmail.com> | 2020-10-19 22:07:34 -0400 |
---|---|---|
committer | Varun Madiath <vamega@gmail.com> | 2020-10-19 23:04:14 -0400 |
commit | e4f363ce7dbd6ec27a30123caf262c99452a0dd4 (patch) | |
tree | a233dcfccf736a9b9fc7eec840cc405d70436163 /archinstall | |
parent | da59378cc45b1d04e0b26d058d451a9202903d1c (diff) |
-rw-r--r-- | archinstall/lib/general.py | 4 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 2dd3e5ab..d9b0c147 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -75,7 +75,7 @@ class sys_command():#Thread): def __init__(self, cmd, callback=None, start_callback=None, *args, **kwargs): if not 'worker_id' in kwargs: kwargs['worker_id'] = gen_uid() if not 'emulate' in kwargs: kwargs['emulate'] = False - if not 'surpress_errors' in kwargs: kwargs['surpress_errors'] = False + if not 'suppress_errors' in kwargs: kwargs['suppress_errors'] = False if kwargs['emulate']: log(f"Starting command '{cmd}' in emulation mode.") self.raw_cmd = cmd @@ -238,7 +238,7 @@ class sys_command():#Thread): if 'ignore_errors' in self.kwargs: self.exit_code = 0 - if self.exit_code != 0 and not self.kwargs['surpress_errors']: + if self.exit_code != 0 and not self.kwargs['suppress_errors']: log(f"'{self.raw_cmd}' did not exit gracefully, exit code {self.exit_code}.") log(self.trace_log.decode('UTF-8')) raise SysCallError(f"'{self.raw_cmd}' did not exit gracefully, exit code {self.exit_code}.\n{self.trace_log.decode('UTF-8')}") |