Merge "ignore error -> log"
This commit is contained in:
commit
bb1ee3c689
1 changed files with 2 additions and 0 deletions
|
|
@ -866,6 +866,8 @@ void Service::StopOrReset(int how) {
|
|||
|
||||
if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) {
|
||||
// An illegal flag: default to SVC_DISABLED.
|
||||
LOG(ERROR) << "service '" << name_ << "' requested unknown flag " << how
|
||||
<< ", defaulting to disabling it.";
|
||||
how = SVC_DISABLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue