chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
busname: add parser for bus name policies
[elogind.git]
/
src
/
core
/
execute.c
diff --git
a/src/core/execute.c
b/src/core/execute.c
index fec4b3b13a0cfe2f714ccd818bc13d58ea61fcc1..ca807dc8cb2fa86ff9b2afbba8dc9ecc70d88fe8 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-1676,7
+1676,7
@@
int exec_spawn(ExecCommand *command,
if (apply_permissions) {
- for (i = 0; i <
RLIMIT_NLIMITS
; i++) {
+ for (i = 0; i <
_RLIMIT_MAX
; i++) {
if (!context->rlimit[i])
continue;