cgroup-code: remove some spaces to make code more consistent
This commit is contained in:
parent
b120acd5b5
commit
0b1d5ac039
@ -43,7 +43,6 @@ static bool createCgroup(const std::string& cgroup_path, pid_t pid) {
|
||||
PLOG_W("mkdir('%s', 0700) failed", cgroup_path.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -55,7 +54,6 @@ static bool writeToCgroup(
|
||||
LOG_W("Could not update %s", what.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,6 @@ static bool createCgroup(const std::string &cgroup_path, pid_t pid) {
|
||||
PLOG_W("mkdir('%s', 0700) failed", cgroup_path.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -74,7 +73,6 @@ static bool addPidToProcList(const std::string &cgroup_path, pid_t pid) {
|
||||
LOG_W("Could not update cgroup.procs");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user