Unverified Commit a41d704a by Stéphane Graber Committed by GitHub

Merge pull request #2689 from brauner/2018-10-10/log_prlimit

conf: log prlimit setup
parents b5769f70 2de12765
......@@ -2647,8 +2647,10 @@ int setup_resource_limits(struct lxc_list *limits, pid_t pid)
SYSERROR("Failed to set limit %s", lim->resource);
return -1;
}
TRACE("Setup \"%s\" limit", lim->resource);
#else
ERROR("Cannot set limit %s as prlimit is missing", lim->resource);
ERROR("Cannot set limit \"%s\" as prlimit is missing", lim->resource);
return -1;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment