From 7389ca267f8d3a74a632ccad510143e2b58a2684 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 2 Dec 2016 19:41:11 +0100 Subject: [PATCH] conf: clearly report to either use drop or keep Signed-off-by: Christian Brauner --- src/lxc/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 8173b4f60..dbc459d6b 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -3952,7 +3952,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)) { -- 2.47.2