]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn,run,machinectl,socket-activate: propagate $COLORTERM + $NO_COLOR 36770/head
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Mar 2025 08:52:52 +0000 (09:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Mar 2025 09:17:54 +0000 (10:17 +0100)
commitafdca6c6c2b84aad69f783e0c9395fa2bfc515cc
tree2229f3423d2d74ecba1467523f9b66d976e15d90
parent19aff5f775386a34224f710b88457c1e6bdf0e2f
nspawn,run,machinectl,socket-activate: propagate $COLORTERM + $NO_COLOR

When we pass information about our calling terminal on to some service
or command we invoke, propagate $COLORTERM + $NO_COLOR in addition to
$TERM, in order to always consider the triplet of the three env vars the
real deal.
src/machine/machinectl.c
src/nspawn/nspawn.c
src/run/run.c
src/socket-activate/socket-activate.c