swapping self.salt_pkg_install.run_root for self..run_root

This commit is contained in:
Gareth J. Greenaway 2023-02-02 15:25:39 -08:00 committed by Pedro Algarvio
parent 16f0c517c5
commit c58b192b86

View file

@ -301,9 +301,7 @@ class SaltPkgInstall:
"python": [self.install_dir / "bin" / "python3"],
}
else:
if self.salt_pkg_install.run_root and os.path.exists(
self.salt_pkg_install.run_root
):
if self.run_root and os.path.exists(self.run_root):
self.binary_paths = {
"salt": [str(self.run_root)],
"api": [str(self.run_root), "api"],