chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Remove explicit Plymouth integration
[elogind.git]
/
src
/
core
/
main.c
diff --git
a/src/core/main.c
b/src/core/main.c
index 3ec70f981545d220b42501ef21ab7f1578506d0c..dd8b65083bf9bfd3844d20d492cdf074800463b3 100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-156,7
+156,7
@@
noreturn static void crash(int sig) {
setrlimit(RLIMIT_CORE, &rl);
/* Just to be sure... */
setrlimit(RLIMIT_CORE, &rl);
/* Just to be sure... */
- chdir("/");
+
(void)
chdir("/");
/* Raise the signal again */
pid = raw_getpid();
/* Raise the signal again */
pid = raw_getpid();
@@
-1561,7
+1561,7
@@
int main(int argc, char *argv[]) {
}
if (arg_running_as == SYSTEMD_SYSTEM && !skip_setup) {
}
if (arg_running_as == SYSTEMD_SYSTEM && !skip_setup) {
- if (arg_show_status > 0
|| plymouth_running()
)
+ if (arg_show_status > 0)
status_welcome();
hostname_setup();
status_welcome();
hostname_setup();