diff options
author | David Michael <fedora.dm0@gmail.com> | 2016-08-04 04:09:54 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-08-04 13:09:54 +0200 |
commit | 5124866d7355b685c08aef6abc618e03367e4b93 (patch) | |
tree | 5b29b609bffc7684facdfd21c08267ed278798e6 /src/core/load-fragment.c | |
parent | 19c8201744035d92a6480cc58944c0c18fcebdc6 (diff) |
util-lib: add parse_percent_unbounded() for percentages over 100% (#3886)
This permits CPUQuota to accept greater values as documented.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index e8cb3a4249..d5f035b67f 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -2903,7 +2903,7 @@ int config_parse_cpu_quota( return 0; } - r = parse_percent(rvalue); + r = parse_percent_unbounded(rvalue); if (r <= 0) { log_syntax(unit, LOG_ERR, filename, line, r, "CPU quota '%s' invalid. Ignoring.", rvalue); return 0; |