summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Tanner <tanner.jc@gmail.com>2014-03-12 17:12:38 -0400
committerMichael DeHaan <michael@ansibleworks.com>2014-03-12 18:04:18 -0400
commit1be68b4821a1f2c29ed5da2e116bcac7cd68d0dd (patch)
treee75aae4e59e7adb7c1b3d12d8b5c2a56941922fd
parentd2036cedcc2193ff113a1789ff34ac7a976c807d (diff)
downloadansible-1be68b4821a1f2c29ed5da2e116bcac7cd68d0dd.tar.gz
Fix typo in portinstall
-rw-r--r--library/packaging/portinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/packaging/portinstall b/library/packaging/portinstall
index 711a853e34..057eee6fa7 100644
--- a/library/packaging/portinstall
+++ b/library/packaging/portinstall
@@ -132,7 +132,7 @@ def remove_packages(module, packages):
if query_package(module, package):
name_without_digits = re.sub('[0-9]', '', package)
- rc, out, err = module.run_command("%s `%s %s`" % (pkg_delete_path, pkg_glob_path, pipes.quote(lame_without_digits)),use_unsafe_shell=True)
+ rc, out, err = module.run_command("%s `%s %s`" % (pkg_delete_path, pkg_glob_path, pipes.quote(name_without_digits)),use_unsafe_shell=True)
if query_package(module, package):
module.fail_json(msg="failed to remove %s: %s" % (package, out))