[systemd-commits] src/main.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Aug 17 14:46:20 PDT 2010


 src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9c501a5902a64d4ec21cf0e87d16ec8c0c1e169
Author: Tero Roponen <tero.roponen at gmail.com>
Date:   Tue Aug 17 20:46:18 2010 +0300

    main: restore an accidentally removed 'else'
    
    I just noticed this when reading the latest commits.

diff --git a/src/main.c b/src/main.c
index 2c91fe4..35ee1c7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -333,7 +333,7 @@ static int parse_proc_cmdline_word(const char *word) {
                          "systemd.log_color=0|1                    Highlight important log messages\n"
                          "systemd.log_location=0|1                 Include code location in log messages\n");
 
-        } if (streq(word, "quiet")) {
+        } else if (streq(word, "quiet")) {
                 arg_show_status = false;
                 arg_sysv_console = false;
         } else {


More information about the systemd-commits mailing list