summaryrefslogtreecommitdiff
path: root/cmdline/apt-report-mirror-failure
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-report-mirror-failure')
-rwxr-xr-xcmdline/apt-report-mirror-failure5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/apt-report-mirror-failure b/cmdline/apt-report-mirror-failure
index 277b23e9a..fb43f0e74 100755
--- a/cmdline/apt-report-mirror-failure
+++ b/cmdline/apt-report-mirror-failure
@@ -14,8 +14,9 @@ if not url:
print "Reporting mirror failure to '%s'" % url
data = {}
-data['url'] = sys.argv[1]
-data['error'] = sys.argv[2]
+data['mirror'] = sys.argv[1]
+data['failurl'] = sys.argv[2]
+data['error'] = sys.argv[3]
f = urllib.urlopen(url, urllib.urlencode(data))
f.read()
f.close()