chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: make watchdog dbus properties writable
[elogind.git]
/
src
/
core
/
execute.c
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 8ae3923c5d233bf6750d6e6e2ce02ce4f4fca2de..271c57f562186974fcde25e0c76b5afb99a8c5b8 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-1367,7
+1367,7
@@
int exec_spawn(ExecCommand *command,
if (!context->rlimit[i])
continue;
- if (setrlimit(i, context->rlimit[i]) < 0) {
+ if (setrlimit
_closest
(i, context->rlimit[i]) < 0) {
err = -errno;
r = EXIT_LIMITS;
goto fail_child;