diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-08 20:05:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-14 19:50:38 +0200 |
commit | 799ec13412e2f6649fd69ce4f1ca1674a40039b0 (patch) | |
tree | edc73eb0ca73eb0292321721815d4c7b81564486 /src/core/dbus-cgroup.c | |
parent | cd0a7a8e58cf7e9f273bf446bb50bf982a8cf29c (diff) |
core: make sure to use "infinity" in unit files, not "max"
THe latter is a kernelism, we only understand "infinity".
Diffstat (limited to 'src/core/dbus-cgroup.c')
-rw-r--r-- | src/core/dbus-cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c index 5b94b5e575..fe035109e3 100644 --- a/src/core/dbus-cgroup.c +++ b/src/core/dbus-cgroup.c @@ -849,7 +849,7 @@ int bus_cgroup_set_property( unit_invalidate_cgroup(u, CGROUP_MASK_MEMORY); if (v == CGROUP_LIMIT_MAX) - unit_write_drop_in_private_format(u, mode, name, "%s=max", name); + unit_write_drop_in_private_format(u, mode, name, "%s=infinity", name); else unit_write_drop_in_private_format(u, mode, name, "%s=%" PRIu64, name, v); } |