logging: log NetworkManager version; use distribution version when configured

This commit is contained in:
Jiří Klimeš
2010-04-23 15:25:32 +02:00
parent 8315a03632
commit b0548425d7
2 changed files with 12 additions and 1 deletions

View File

@@ -616,7 +616,10 @@ main (int argc, char *argv[])
nm_logging_start (become_daemon);
nm_log_info (LOGD_CORE, "starting...");
#if !defined(NM_DIST_VERSION)
# define NM_DIST_VERSION VERSION
#endif
nm_log_info (LOGD_CORE, "NetworkManager-" NM_DIST_VERSION " is starting...");
success = FALSE;
main_loop = g_main_loop_new (NULL, FALSE);