diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-12-22 15:02:36 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-12-22 15:02:36 -0500 |
commit | f8ff3f4b1109ed2993e2d47d04f77bf18ad594d5 (patch) | |
tree | 237c095635bd17f900c7943d3b69b39aae59d698 | |
parent | 31dc3b2ee71319283be4dac4b62a2ec027bcf5c1 (diff) |
Do not terminate the daemon if color information cannot be loaded.
Instead, log an additional error message and continue.
-rw-r--r-- | src/mcstransd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mcstransd.c b/src/mcstransd.c index 4a3feaf..ddfce78 100644 --- a/src/mcstransd.c +++ b/src/mcstransd.c @@ -427,7 +427,8 @@ process_connections(void) } if (init_colors()) { syslog(LOG_ERR, "Failed to initialize color translations"); - cleanup_exit(1); + syslog(LOG_ERR, "No color information will be available"); + /* cleanup_exit(1); */ } restart_daemon = 0; } @@ -477,7 +478,8 @@ initialize(void) } if (init_colors()) { syslog(LOG_ERR, "Failed to initialize color translations"); - cleanup_exit(1); + syslog(LOG_ERR, "No color information will be available"); + /* cleanup_exit(1); */ } /* the socket will be unlinked when the daemon terminates */ |