Added version information to the start-up log message.
This commit is contained in:
parent
a63cdcd16b
commit
1d2ace552e
5
main.c
5
main.c
@ -92,8 +92,9 @@ main(int argc, char * argv[])
|
|||||||
|
|
||||||
/* Log a few helpful facts about this Petidomo instance. */
|
/* Log a few helpful facts about this Petidomo instance. */
|
||||||
|
|
||||||
syslog(LOG_DEBUG, "Petidomo starting up; mode=%s, listname=%s, masterconf=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%d",
|
syslog(LOG_DEBUG, "%s starting up; mode=%s, listname=%s, masterconf=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%d",
|
||||||
mode, listname, masterconfig_path, (g_is_approved) ? "true" : "false", getuid(), geteuid(), getgid(), getegid());
|
(char *)petidomo_version.v_gnu, mode, listname, masterconfig_path, (g_is_approved) ? "true" : "false",
|
||||||
|
getuid(), geteuid(), getgid(), getegid());
|
||||||
|
|
||||||
/* Init Petidomo's internal stuff. */
|
/* Init Petidomo's internal stuff. */
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user