Don't create junk file when posting crash report.

Fixes atom/atom#3166.
This commit is contained in:
Cheng Zhao 2014-08-04 22:58:34 +08:00
parent 94b4ceb8ce
commit 28b9df24a6

View file

@ -350,6 +350,8 @@ void ExecUploadProcessOrTerminate(const BreakpadInfo& info,
"--timeout=60", // 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.
"--quiet", // Be silent. "--quiet", // Be silent.
"-O", // output reply to /dev/null.
"/dev/null",
NULL, NULL,
}; };
static const char msg[] = "Cannot upload crash dump: cannot exec " static const char msg[] = "Cannot upload crash dump: cannot exec "