aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2019-03-26 19:47:15 +0100
committerSlack Coder <slackcoder@server.ky>2019-03-26 19:47:15 +0100
commit9e5baa4464a94db6132fb3244569f953f93d32d6 (patch)
treeb30ad3a0f7b7d29f3100b38f3992c5f854720b2e
parent4a55859758c3642edc2715ffcf7502be9def804d (diff)
downloadslackware.com-client-9e5baa4464a94db6132fb3244569f953f93d32d6.tar.xz
FIX: Correct var error when download fails
Replace the unset var 'url' with the correct 'src' which is used as an argument.
-rwxr-xr-xslackware.com2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware.com b/slackware.com
index 0a2d68c..2474ab0 100755
--- a/slackware.com
+++ b/slackware.com
@@ -290,7 +290,7 @@ class Local
]
command << "--quiet" if QUIET == "true"
ok = system(*command)
- ok ? nil : DownloadError.new(url)
+ ok ? nil : DownloadError.new(src)
end
def self.download_and_verify(mirror, remote_file_path)