]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: add a couple of more error cases that should result in "bad-setting" 9157/head
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Jun 2018 16:06:54 +0000 (18:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2018 10:53:12 +0000 (12:53 +0200)
commit6f40aa4547ac2c62ade78268108a4fa60b6e9fff
tree28a14ca2cd1fa1adc996782624579ec27bee327c
parent9a0abfa8aadc9fb053f7701efbc0fa44d051da27
core: add a couple of more error cases that should result in "bad-setting"

This changes a number of EINVAL cases to ENOEXEC, so that we enter
"bad-setting" state if they fail.
src/core/automount.c
src/core/load-fragment.c
src/core/mount.c
src/core/path.c
src/core/scope.c
src/core/service.c
src/core/slice.c
src/core/socket.c
src/core/swap.c
src/core/timer.c
src/core/unit.c