summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/bus-util.c')
-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);