chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97c4f35
)
main: remove testing assert
author
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 19:42:55 +0000
(21:42 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 19:42:55 +0000
(21:42 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 4aa63cba77310ac27fd56a2476b8703a2fab6ffc..f314efd30c106a38ab36326b1316d9ef257438ee 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-150,7
+150,6
@@
static int parse_proc_cmdline_word(const char *word) {
unsigned i;
/* SysV compatibility */
unsigned i;
/* SysV compatibility */
-
for (i = 0; i < ELEMENTSOF(rlmap); i += 2)
if (streq(word, rlmap[i]))
return set_default_unit(rlmap[i+1]);
for (i = 0; i < ELEMENTSOF(rlmap); i += 2)
if (streq(word, rlmap[i]))
return set_default_unit(rlmap[i+1]);
@@
-364,12
+363,12
@@
int main(int argc, char *argv[]) {
/* Make sure D-Bus doesn't fiddle with the SIGPIPE handlers */
dbus_connection_set_change_sigpipe(FALSE);
/* Make sure D-Bus doesn't fiddle with the SIGPIPE handlers */
dbus_connection_set_change_sigpipe(FALSE);
- /* Open the logging devices, if possible and necessary*/
+ /* Open the logging devices, if possible and necessary
*/
log_open_syslog();
log_open_kmsg();
log_open_syslog();
log_open_kmsg();
+ /* Make sure we leave a core dump */
install_crash_handler();
install_crash_handler();
- assert(!"esel");
log_debug("systemd running in %s mode.", manager_running_as_to_string(running_as));
log_debug("systemd running in %s mode.", manager_running_as_to_string(running_as));