bus-unit-util: add proper MemorySwapMax= serialization

Fixes: #7505
This commit is contained in:
Lennart Poettering 2017-11-29 19:55:42 +01:00
parent 66a892ae3d
commit 147fe484c1
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
r = sd_bus_message_close_container(m);
goto finish;
} else if (STR_IN_SET(field, "MemoryLow", "MemoryHigh", "MemoryMax", "MemoryLimit")) {
} else if (STR_IN_SET(field, "MemoryLow", "MemoryHigh", "MemoryMax", "MemorySwapMax", "MemoryLimit")) {
uint64_t bytes;
if (isempty(eq) || streq(eq, "infinity"))