]> git.ipfire.org Git - thirdparty/chrony.git/commit
main: warn if running with root privileges
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Feb 2021 16:04:01 +0000 (17:04 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Feb 2021 16:06:14 +0000 (17:06 +0100)
commit4f878ba144dee853405e4a22fc9658c40d37678a
tree23a11e8a6fe66a70f0a592f38340b01d03043bf1
parent8acdb5d1e208d2712daf01e512ad345d2ce5bd7e
main: warn if running with root privileges

Log a warning message if the main process has not dropped the root
privileges, i.e. when the compiled-in user or user specified by the user
directive or -u option is root.
main.c