mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixes ansible/ansible#3547
This commit is contained in:
parent
fa9635478b
commit
52321c1557
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def package_installed(module, name):
|
|||
cmd = [module.get_bin_path('pkginfo', True)]
|
||||
cmd.append('-q')
|
||||
cmd.append(name)
|
||||
rc, out, err = module.run_command(' '.join(cmd), shell=False)
|
||||
rc, out, err = module.run_command(' '.join(cmd))
|
||||
if rc == 0:
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue