From: Bjoern Sikora Date: Tue, 4 Aug 2009 15:45:10 +0000 (+0200) Subject: Adjusted exit code on terminate through SIGTERM. X-Git-Tag: v1.1~251 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=39acb8289d8e68c99e53bd28e086a3e9fe04b20b;p=bpdyndnsd Adjusted exit code on terminate through SIGTERM. --- diff --git a/src/main.cpp b/src/main.cpp index 0341aec..514ebfe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -96,7 +96,7 @@ void terminate(int param) { updater->get_logger()->print_caught_sigterm(); updater.reset(); - exit(1); + exit(0); } @@ -113,7 +113,7 @@ void switch_to_offline(int param) /** * Signal SIGHUP caught, reloading config and switching to online mode. - * @param param + * @param param Parameter from the signal interface. */ void reload_config(int param) {