]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/execute: add one more FIXME comment
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Aug 2025 02:29:36 +0000 (11:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Aug 2025 14:44:58 +0000 (23:44 +0900)
src/core/execute.c

index fa63a6bee05d60edd338013155f1e66ade0aa0a8..c384e9dd638b81fbff37091a55bfbcb8821ea1d5 100644 (file)
@@ -1009,6 +1009,9 @@ bool exec_context_shall_ansi_seq_reset(const ExecContext *c) {
         if (!c->tty_reset)
                 return false;
 
+        /* FIXME:
+         * On invocation, we generate $TERM based on settings for StandardOutput= and friends and the kernel
+         * command line options, or propagate $TERM from the service manager. See setup_term_environment(). */
         return !streq_ptr(strv_env_get(c->environment, "TERM"), "dumb");
 }