git://developer.intra2net.com
/
bpdyndnsd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Log before exiting the application on config reload error
[bpdyndnsd]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
94bc813
..
54022da
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-335,7
+335,10
@@
int main(int argc, char *argv[])
need_config_reload = false;
if ( updater->reload_config() != 0 )
+ {
+ updater->get_logger()->print_conf_reload_failed_exit();
exit(-1);
+ }
}
// Snore, snore... don't hog the cpu if we are in daemon_mode.