diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -143,13 +143,15 @@ int main_loop(void) { int r = -1, retval_sent = 0; oop_source_sys *sys = NULL; - daemon_log(LOG_INFO, "Starting up."); + daemon_log(LOG_INFO, "Starting up "PACKAGE" version "VERSION" <"PACKAGE_BUGREPORT">."); if (get_target_uid_gid() < 0) goto finish; setenv("PATH", BINDIR":/usr/sbin:/usr/bin:/sbin:/bin/:/usr/local/sbin:/usr/local/bin", 1); + daemon_log(LOG_INFO, "Path set to '%s'.", getenv("PATH")); + if (!(sys = oop_sys_new())) { daemon_log(LOG_ERR, "Failed to create system source."); goto finish; |