chiark / gitweb /
exec: Assigning the empty string to CapabilityBoundSet= should drop all caps
[elogind.git] / src / core / load-fragment.c
index 2204c67a4b636abc6a82eac777d5a2a042fd993b..6d90428af01ac945fafd0105ff6101649417a33c 100644 (file)
@@ -889,12 +889,6 @@ int config_parse_bounding_set(
         assert(rvalue);
         assert(data);
 
-        if (isempty(rvalue)) {
-                /* An empty assignment resets */
-                *capability_bounding_set_drop = 0;
-                return 0;
-        }
-
         if (rvalue[0] == '~') {
                 invert = true;
                 rvalue++;