Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authorRuslan Kiyanchuk <ruslan.kiyanchuk@gmail.com>2021-04-03 14:44:45 -0700
committerRuslan Kiyanchuk <ruslan.kiyanchuk@gmail.com>2021-04-03 14:44:45 -0700
commit51286f2a6509c708fa44066ada03116698c0dc05 (patch)
tree1a8d7da978183d703e55baeba4df1ce656730251 /archinstall/lib/installer.py
parentef021698b698037388771600e4815b8e9152872d (diff)
Fix undefined variables in installer
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index a4321893..663288e5 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -98,7 +98,7 @@ class Installer():
self.log('Some required steps were not successfully installed/configured before leaving the installer:', bg='black', fg='red', level=LOG_LEVELS.Warning)
for step in missing_steps:
self.log(f' - {step}', bg='black', fg='red', level=LOG_LEVELS.Warning)
- self.log(f"Detailed error logs can be found at: {log_path}", level=LOG_LEVELS.Warning)
+ self.log(f"Detailed error logs can be found at: {storage['LOG_PATH']}", level=LOG_LEVELS.Warning)
self.log(f"Submit this zip file as an issue to https://github.com/Torxed/archinstall/issues", level=LOG_LEVELS.Warning)
self.sync_log_to_install_medium()
return False
@@ -149,7 +149,7 @@ class Installer():
fstab_fh.write(fstab)
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):
- raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n{o}')
+ raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n')
return True