Signed-off-by: Serge Hallyn <[email protected]>
---
src/lxc/cgroup.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index 78083e8..135f2c4 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -198,11 +198,8 @@ char *lxc_cgroup_path_get(const char *subsystem, const
char *name,
pid_t initpid = lxc_cmd_get_init_pid(name, lxcpath);
int ret;
- if (initpid < 0) {
- ERROR("Error getting init pid for container %s:%s",
- lxcpath, name);
+ if (initpid < 0)
return NULL;
- }
cgpath = lxc_cmd_get_cgroup_path(name, lxcpath, subsystem);
if (!cgpath)
@@ -308,7 +305,6 @@ static bool cgroup_devices_has_deny(struct lxc_handler *h,
char *v)
}
if (!(f = fopen(path, "r"))) {
- SYSERROR("Error opening devices.list");
return -1;
}
@@ -348,7 +344,6 @@ static bool cgroup_devices_has_allow(struct lxc_handler *h,
char *v)
}
if (!(f = fopen(path, "r"))) {
- SYSERROR("Error opening devices.list");
return -1;
}
--
1.8.3.2
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel