From: Christian Brauner Date: Fri, 2 Dec 2016 18:41:11 +0000 (+0100) Subject: conf: clearly report to either use drop or keep X-Git-Tag: lxc-1.0.10~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7586efbe915eea474ebf129e23be7e295db07324;p=thirdparty%2Flxc.git conf: clearly report to either use drop or keep Signed-off-by: Christian Brauner --- 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)) {