mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix Linux only logical check
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
cd8aae6f5d
commit
1f145d37f2
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ class SaltPkgInstall:
|
|||
else:
|
||||
log.info("Installing packages:\n%s", pprint.pformat(self.pkgs))
|
||||
ret = self.proc.run(self.pkg_mngr, "install", "-y", *self.pkgs)
|
||||
if not (platform.is_darwin() or platform.is_windows()):
|
||||
if not platform.is_darwin() and not platform.is_windows():
|
||||
# Make sure we don't have any trailing references to old package file locations
|
||||
assert "No such file or directory" not in ret.stdout
|
||||
assert "/saltstack/salt/run" not in ret.stdout
|
||||
|
|
Loading…
Add table
Reference in a new issue