Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fwiesweg authored Oct 31, 2022
1 parent 95b4fcb commit b656af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nspawn-runner
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Machine:
systemd_run_cmd.append(f"--property={c}")

systemd_run_cmd.extend(cmd)
systemd_run_cmd.extend(chroot.config.get('nspawn_args', []))
systemd_run_cmd.extend(chroot.config.get('nspawn_runner_args', []))

log.info("Running %s", " ".join(shlex.quote(c) for c in systemd_run_cmd))
os.execvp(systemd_run_cmd[0], systemd_run_cmd)
Expand Down Expand Up @@ -384,7 +384,7 @@ class Chroot:
Login is done with exec, so this function, when successful, never
returns and destroys the calling process
"""
cmd = ["systemd-nspawn", "--directory", self.chroot_dir] + self.config.get('nspawn_args', [])
cmd = ["systemd-nspawn", "--directory", self.chroot_dir] + self.config.get('nspawn_runner_args', [])
log.info("Running %s", " ".join(shlex.quote(c) for c in cmd))
os.execvp(cmd[0], cmd)

Expand Down

0 comments on commit b656af3

Please sign in to comment.