Commit ac34b67b by Michael DeHaan Committed by Michael DeHaan

Still more shell fixes.

parent 053a5fb4
...@@ -131,7 +131,7 @@ def all_keys(module, keyring): ...@@ -131,7 +131,7 @@ def all_keys(module, keyring):
return results return results
def key_present(module, key_id): def key_present(module, key_id):
(rc, out, err) = module.run_command("apt-key list | 2>&1 grep -i -q %s" % key_id) (rc, out, err) = module.run_command("apt-key list | 2>&1 grep -i -q %s" % pipes.quote(key_id), use_unsafe_shell=True)
return rc == 0 return rc == 0
def download_key(module, url): def download_key(module, url):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment