Bools > ints

This commit is contained in:
buffet 2018-10-22 17:29:47 +02:00
parent 8e8a4b1e4f
commit 2ee0674062

View file

@ -31,7 +31,7 @@
static void exec_config(const char *path);
static void sig_handler(int sig);
bool g_is_about_to_quit = 0;
bool g_is_about_to_quit = false;
int
main(int argc, char *argv[])
@ -154,6 +154,6 @@ sig_handler(int sig)
// EMPTY
}
} else if (sig == SIGINT || sig == SIGHUP || sig == SIGTERM) {
g_is_about_to_quit = 1;
g_is_about_to_quit = true;
}
}