chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: Do not handle SIGKILL since we can not
[elogind.git]
/
src
/
core
/
main.c
diff --git
a/src/core/main.c
b/src/core/main.c
index bf1e3e8ffae19f8618adc740cc365ec1dab813bf..26aa561218f3f801a27451dc96b1f3c1f92285c3 100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-410,6
+410,8
@@
static int parse_proc_cmdline_word(const char *word) {
} else if (streq(word, "quiet"))
arg_show_status = false;
} else if (streq(word, "quiet"))
arg_show_status = false;
+ else if (streq(word, "debug"))
+ log_set_max_level(LOG_DEBUG);
else if (!in_initrd()) {
unsigned i;
else if (!in_initrd()) {
unsigned i;
@@
-1403,7
+1405,6
@@
int main(int argc, char *argv[]) {
/* Reset all signal handlers. */
assert_se(reset_all_signal_handlers() == 0);
/* Reset all signal handlers. */
assert_se(reset_all_signal_handlers() == 0);
- /* If we are init, we can block sigkill. Yay. */
ignore_signals(SIGNALS_IGNORE, -1);
if (parse_config_file() < 0)
ignore_signals(SIGNALS_IGNORE, -1);
if (parse_config_file() < 0)