core: when receiving a memory limit via the bus, refuse 0
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Jun 2016 18:04:22 +0000 (20:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Jun 2016 17:50:38 +0000 (19:50 +0200)
commitcd0a7a8e58cf7e9f273bf446bb50bf982a8cf29c
tree268e16f59aae36c2d5950a440745504cd5df0bc4
parent328583dbc3621271dbdac4a279865ea7243f8ddf
core: when receiving a memory limit via the bus, refuse 0

When parsing unit files we already refuse unit memory limits of zero, let's
also refuse it when the value is set via the bus.
src/core/dbus-cgroup.c