summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-10-12 06:39:00 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-10-12 06:39:00 +0000
commit97eb42315785821dae3349978a1adf7d49aa5fc1 (patch)
tree3f6e10f9aecdd0d85b533982caab441e1780be1c /src/shared
parentc9d031c353177420809b2e187f0392ad9ba8362a (diff)
core: manager: expose DefaultLimit* as properties on dbus
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 57bc6d987d..36a29fbdc0 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -2163,7 +2163,7 @@ int bus_property_get_rlimit(
struct rlimit buf = {};
int z;
- z = rlimit_from_string(property);
+ z = rlimit_from_string(startswith(property, "Default") ? property + 7 : property);
assert(z >= 0);
getrlimit(z, &buf);