execute: use the return value of setrlimit_closest() properly
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Jun 2016 23:31:24 +0000 (01:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Jun 2016 23:31:24 +0000 (01:31 +0200)
commit03857c43ce099e50fbb78dd4b32eb75759b83ae0
tree139d8967f747088f1bda07997395507dd7150603
parentfc40065bcd098447bf570d3d71950f0435966978
execute: use the return value of setrlimit_closest() properly

It's a function defined by us, hence we should look for the error in its return
value, not in "errno".
src/core/execute.c