Commit 7586efbe by Christian Brauner Committed by Stéphane Graber

conf: clearly report to either use drop or keep

parent f58b2c98
......@@ -4366,7 +4366,7 @@ int lxc_setup(struct lxc_handler *handler)
if (!lxc_list_empty(&lxc_conf->keepcaps)) {
if (!lxc_list_empty(&lxc_conf->caps)) {
ERROR("Simultaneously requested dropping and keeping caps");
ERROR("Container requests lxc.cap.drop and lxc.cap.keep: either use lxc.cap.drop or lxc.cap.keep, not both.");
return -1;
}
if (dropcaps_except(&lxc_conf->keepcaps)) {
......
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