Bools > ints
This commit is contained in:
parent
8e8a4b1e4f
commit
2ee0674062
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
static void exec_config(const char *path);
|
static void exec_config(const char *path);
|
||||||
static void sig_handler(int sig);
|
static void sig_handler(int sig);
|
||||||
|
|
||||||
bool g_is_about_to_quit = 0;
|
bool g_is_about_to_quit = false;
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
|
@ -154,6 +154,6 @@ sig_handler(int sig)
|
||||||
// EMPTY
|
// EMPTY
|
||||||
}
|
}
|
||||||
} else if (sig == SIGINT || sig == SIGHUP || sig == SIGTERM) {
|
} else if (sig == SIGINT || sig == SIGHUP || sig == SIGTERM) {
|
||||||
g_is_about_to_quit = 1;
|
g_is_about_to_quit = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue