Merge "init: only print backtraces on subsequent reboots with a value"
This commit is contained in:
commit
e55818cd83
1 changed files with 3 additions and 1 deletions
|
|
@ -489,7 +489,9 @@ uint32_t HandlePropertySet(const std::string& name, const std::string& value,
|
|||
}
|
||||
LOG(INFO) << "Received sys.powerctl='" << value << "' from pid: " << cr.pid
|
||||
<< process_log_string;
|
||||
DebugRebootLogging();
|
||||
if (!value.empty()) {
|
||||
DebugRebootLogging();
|
||||
}
|
||||
}
|
||||
|
||||
// If a process other than init is writing a non-empty value, it means that process is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue