Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-04-11 22:36:31 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-11 22:36:31 +0200
commit21322ecadbe4b47b429cbdb66a1a8065200111e0 (patch)
treed44b68f335d46ec6deeb5a2c9a9459fe060d4a99 /archinstall.py
parentb27c10907ff0c14c912a85377b5b879d19720e03 (diff)
misspelling
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index 0f911afd..f1a33d4e 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -170,7 +170,7 @@ class sys_command():
for trigger in self.opts['triggers']:
print(trigger.lower(),'vs', lower)
if trigger.lower() in lower:
- print('[N] Writing to subsystem: {}'.format(trigger))
+ print('[N] Writing to subsystem: {}'.format(self.opts['triggers'][trigger]))
os.write(child_fd, self.opts['triggers'][trigger])
yield output
@@ -644,7 +644,7 @@ if __name__ == '__main__':
o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : {
b'Arcinstall login' : b'root\n',
b'Password' : bytes(args['password']+'\n', 'UTF-8'),
- b'[root@Archinstall ~]#' : bytes(command+'\n', 'UTF-8'),
+ b'[root@Arcinstall ~]#' : bytes(command+'\n', 'UTF-8'),
}, **opts}).exec())
## And cleanup after out selves.. Don't want to leave any residue..