]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: clearly report to either use drop or keep 1340/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Dec 2016 18:41:11 +0000 (19:41 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Dec 2016 18:41:11 +0000 (19:41 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index 8173b4f60a736a9fcc00332a6c2db63cff431d7f..dbc459d6b6c45c503dd47e4a8d02614cfd52fde3 100644 (file)
@@ -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)) {