From 7586efbe915eea474ebf129e23be7e295db07324 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 cab49e77c..20515ef3f 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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)) { -- 2.47.2