Skip to content

Commit

Permalink
conf: clearly report to either use drop or keep
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Dec 8, 2016
1 parent f58b2c9 commit 7586efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/conf.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7586efb

Please sign in to comment.