chiark / gitweb /
mount: fix up wording in the comment
[elogind.git] / src / core / main.c
index 3ec70f981545d220b42501ef21ab7f1578506d0c..dd8b65083bf9bfd3844d20d492cdf074800463b3 100644 (file)
@@ -156,7 +156,7 @@ noreturn static void crash(int sig) {
                         setrlimit(RLIMIT_CORE, &rl);
 
                         /* Just to be sure... */
-                        chdir("/");
+                        (void) chdir("/");
 
                         /* 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_show_status > 0 || plymouth_running())
+                if (arg_show_status > 0)
                         status_welcome();
 
                 hostname_setup();