diff --git a/init/property_service.cpp b/init/property_service.cpp index 1e4e127f9..655b8deef 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -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