From f126c77b3b6b1471ee76536d18cfacc3524b7fd5 Mon Sep 17 00:00:00 2001 From: Christoph Seitz Date: Wed, 1 Aug 2012 18:45:32 +0200 Subject: [PATCH] Tweaked error massages. --- apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt b/apt index 29188d67a8e..be4e491ddf3 100755 --- a/apt +++ b/apt @@ -90,7 +90,7 @@ def install(m, pkgspec, cache, upgrade=False, default_release=None, install_reco rc, out, err = run_apt(cmd) if rc: - m.fail_json(msg="'apt-get install %s' failed: %s" % (pkgspec, err)) + m.fail_json(msg="'apt-get install %s' failed: %s" % (packages, err)) else: m.exit_json(changed=True) else: