git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2e9bd87
)
Move exit_now variable to main() function
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 11 Oct 2010 09:19:41 +0000 (11:19 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 11 Oct 2010 09:19:41 +0000 (11:19 +0200)
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
e7f1666
..
a801d89
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-26,7
+26,6
@@
using namespace std;
Updater::Ptr updater;
-volatile bool exit_now = false;
volatile bool caught_sig_hup = false;
volatile bool caught_sig_usr1 = false;
volatile bool caught_sig_usr2 = false;
@@
-324,6
+323,7
@@
int main(int argc, char *argv[])
bool old_online_state = false;
bool is_online = !updater->get_config()->get_start_offline();
bool webcheck_enabled = updater->get_config()->get_webcheck_enabled();
+ bool exit_now = false;
// One shot run if daemon mode is disabled
if (updater->get_config()->get_daemon_mode() != 1)