]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
main: Warn about unexpected configuration location
authorOlliver Schinagl <oliver@schinagl.nl>
Sun, 13 Aug 2023 08:45:56 +0000 (10:45 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 2 Feb 2024 00:00:05 +0000 (01:00 +0100)
commit0485cf470b64d3cfcc5a4e62c711789ff316cea8
tree1595429924200e81f8c20bc0e370e3db89d7dd8b
parent717056be02e1d1754bc86948c8523964c5ea0f1c
main: Warn about unexpected configuration location

When using the `--fork` flag, and no user or config arguments are
supplied, the configuration folder will end up with whatever the default
`daemon` user has set, which is often `/sbin` set as the homedir.

This is weird, but not 'wrong' per say. Lets warn the user that forking
can have an unexpected side effect.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
src/main.c