diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-29 14:13:04 +0300 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-29 14:48:37 +0300 |
commit | 661b37b05be6720dc8678ba44ed6b321679aa260 (patch) | |
tree | a06d05057aa08f68d741db6436030985f6b591db /src | |
parent | a8107a54bd0e5d1cea62cb0159062799deee751f (diff) |
core: fix capability bounding set parsing
bug: CapabilityBoundingSet= doesn't reset all caps
Diffstat (limited to 'src')
-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; |