From 0b1d5ac03932c140f08536ed72b4b58741e7d3cf Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Sun, 4 Aug 2019 09:54:38 +0200 Subject: [PATCH] cgroup-code: remove some spaces to make code more consistent --- cgroup.cc | 2 -- cgroup2.cc | 2 -- 2 files changed, 4 deletions(-) diff --git a/cgroup.cc b/cgroup.cc index f84aead..a72e35f 100644 --- a/cgroup.cc +++ b/cgroup.cc @@ -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; } diff --git a/cgroup2.cc b/cgroup2.cc index bbb3dec..6b0dc09 100644 --- a/cgroup2.cc +++ b/cgroup2.cc @@ -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; }