diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-29 13:44:23 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-29 13:44:23 +0100 |
commit | db27190d544c12484ccc668616c0d0eb08bc2b73 (patch) | |
tree | a06d05057aa08f68d741db6436030985f6b591db /src/core/load-fragment.c | |
parent | 2c80779e33e2bea8e335f3c93b144f671d6bc62c (diff) | |
parent | 661b37b05be6720dc8678ba44ed6b321679aa260 (diff) |
Merge pull request #1713 from evverx/test-cap-bounding-set-merging
Another fix of the CapabilityBoundingSet parsing
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 8bd6a67538..333fca46c4 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -1023,7 +1023,7 @@ int config_parse_bounding_set(const char *unit, log_syntax(unit, LOG_ERR, filename, line, 0, "Trailing garbage, ignoring."); capability_bounding_set = invert ? ~sum : sum; - if (*capability_bounding_set_drop) + if (*capability_bounding_set_drop && capability_bounding_set) *capability_bounding_set_drop = ~(~*capability_bounding_set_drop | capability_bounding_set); else *capability_bounding_set_drop = ~capability_bounding_set; |