]> git.ipfire.org Git - thirdparty/systemd.git/commit
machinectl: accept "none" and "infinity" as specifier when dropping quotas using...
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 20:41:31 +0000 (22:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 23:59:25 +0000 (01:59 +0200)
commit7705a4053d83b5da22c9354a44be26ffc8e24f5a
tree8332c3cf1f6821b6bacfc4c755f90ce8df91c617
parent0d4c4b7141c494fd8db273cf637a17af53674b2f
machinectl: accept "none" and "infinity" as specifier when dropping quotas using "machinectl set-limit"

Previously, we already accepted "-" as special value for dropping
limits. Add "infinity", as that's what we support for RLIMITs and hence
should support here to. Also add "none" as that's what the btrfs tools
use.
src/machine/machinectl.c