From 97eb42315785821dae3349978a1adf7d49aa5fc1 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 12 Oct 2015 06:39:00 +0000 Subject: core: manager: expose DefaultLimit* as properties on dbus --- src/shared/bus-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/bus-util.c') 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); -- cgit v1.2.3-54-g00ecf