]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: clearly report to either use drop or keep
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Dec 2016 18:41:11 +0000 (19:41 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 8 Dec 2016 09:17:47 +0000 (10:17 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index cab49e77ce05313b92198fb6c63672986115c5f4..20515ef3fa9e3376b74121f6882c976574cacf92 100644 (file)
@@ -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)) {