From d73cb26aaa0cc701c5ce4939243e6287d271fe53 Mon Sep 17 00:00:00 2001 From: donghee yang Date: Wed, 17 Oct 2012 14:18:14 +0900 Subject: [PATCH] [Title] Fixed "download" problem --- src/pkg_server/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg_server/downloader.rb b/src/pkg_server/downloader.rb index 1443e83..ab4758f 100644 --- a/src/pkg_server/downloader.rb +++ b/src/pkg_server/downloader.rb @@ -46,7 +46,7 @@ class FileDownLoader logger.info "Downloading #{url}" if is_remote then pid,status = Utils.execute_shell_with_log( "wget #{url} -O #{fullpath} -nv --tries=3", logger.path ) - ret = (not status.nil? and status.exitstatus) != 0 ? false : true + ret = (not status.nil? and status.exitstatus != 0) ? false : true #ret = Utils.execute_shell( "wget #{url} -O #{fullpath} -q") else if not File.exist? url then -- 2.34.1