mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Fix various typos found by codepsell
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
15 files changed
+23
-24
No files matched your search
+1
-1
@@ -476,7 +476,7 @@ void cgroup_init(uev_ctx_t *ctx)
|
||||
if (mount("none", FINIT_CGPATH, "cgroup2", opts, NULL)) {
|
||||
if (errno == ENOENT)
|
||||
logit(LOG_INFO, "Kernel does not support cgroups v2, disabling.");
|
||||
else if (errno == EPERM) /* Probably inside an unpriviliged container */
|
||||
else if (errno == EPERM) /* Probably inside an unprivileged container */
|
||||
logit(LOG_INFO, "Not allowed to mount cgroups v2, disabling.");
|
||||
else
|
||||
err(1, "Failed mounting cgroup v2");
|
||||
|
||||
Reference in new issue
Block a user