diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-27 10:19:35 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-27 16:14:55 +0100 |
commit | fbb159b78990c73d27fda9b094a027aea6d43cdb (patch) | |
tree | 01af1cddc432c228ce53d8643ff9357413f2506c /src/systemctl/systemctl-edit.c | |
parent | nspawn: improve error message when we cannot look into a container tree due t... (diff) | |
download | systemd-fbb159b78990c73d27fda9b094a027aea6d43cdb.tar.xz systemd-fbb159b78990c73d27fda9b094a027aea6d43cdb.zip |
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.
Diffstat (limited to 'src/systemctl/systemctl-edit.c')
0 files changed, 0 insertions, 0 deletions