linux: Be quiet when uploading crash report.

This commit is contained in:
Cheng Zhao 2014-05-07 09:05:00 +08:00
parent d0b8b478fc
commit c841d90529

View file

@ -347,10 +347,9 @@ void ExecUploadProcessOrTerminate(const BreakpadInfo& info,
post_file, post_file,
// TODO(zcbenz): Enabling custom upload url. // TODO(zcbenz): Enabling custom upload url.
info.upload_url, info.upload_url,
"--timeout=10", // Set a timeout so we don't hang forever. "--timeout=60", // Set a timeout so we don't hang forever.
"--tries=1", // Don't retry if the upload fails. "--tries=1", // Don't retry if the upload fails.
"-O", // output reply to fd 3 "--quiet", // Be silent.
"/dev/fd/3",
NULL, NULL,
}; };
static const char msg[] = "Cannot upload crash dump: cannot exec " static const char msg[] = "Cannot upload crash dump: cannot exec "