Index: base/process/process_posix.cc |
diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc |
index 47b0d5b11fb29bfdc49979f6314dc93a7c068d19..b6f22c1edcf7e510a72d59a3a48d857da86606cf 100644 |
--- a/base/process/process_posix.cc |
+++ b/base/process/process_posix.cc |
@@ -295,9 +295,10 @@ void Process::Close() { |
#if !defined(OS_NACL_NONSFI) |
bool Process::Terminate(int exit_code, bool wait) const { |
- // result_code isn't supportable. |
+ // exit_code isn't supportable. |
DCHECK(IsValid()); |
- DCHECK_GT(process_, 1); |
+ CHECK_GT(process_, 0); |
+ |
bool result = kill(process_, SIGTERM) == 0; |
if (result && wait) { |
int tries = 60; |