service: don't second guess invocation mode again
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Nov 2024 09:19:35 +0000 (10:19 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 27 Nov 2024 15:14:55 +0000 (00:14 +0900)
commitfbb159b78990c73d27fda9b094a027aea6d43cdb
tree01af1cddc432c228ce53d8643ff9357413f2506c
parentd79ba8574b8bc82b97e30bb5e60fedaf34d43c85
service: don't second guess invocation mode again

let's just check the debug invocation boolean, and not recheck the
restart mode again. It's mostly redundant (because the boolean should
not have been become true if the restart mode was not set accordingly).

Moreover, i think we might want to eventually allow a manual way to
enable debug invocation mode, and hence this pointless checking would
become a problem.

Also, we never check the restart mode again in other cases, hence we
shouldn't here either.
src/core/service.c