cgroup-code: remove some spaces to make code more consistent
authorRobert Swiecki <robert@swiecki.net>
Sun, 4 Aug 2019 07:54:38 +0000 (09:54 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sun, 4 Aug 2019 07:54:38 +0000 (09:54 +0200)
cgroup.cc
cgroup2.cc

index f84aeadedd3ae1091175150169b6290d2def06ec..a72e35fe0b3a0b23ea87a72f9ccb5dd2bf0bde3d 100644 (file)
--- 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;
 }
 
index bbb3dec130f806e7ea0aba00f753a3ad82f5021c..6b0dc093266430eabacc36febb5ad9101392bde2 100644 (file)
@@ -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;
 }