git commit test
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 30 Apr 2009 19:24:24 +0000 (21:24 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 30 Apr 2009 19:24:24 +0000 (21:24 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c

index 45a9733cf24bab3b76aaca1036cdfb9d86902499..692076cf4e35c30b10e0e608840c12eed49efbc0 100644 (file)
@@ -1453,8 +1453,9 @@ static void cmdedit_update_prompt(void)
                if (G.PS1 == NULL)
                        G.PS1 = "\\w \\$ ";
                G.PS2 = get_local_var_value("PS2");
-       } else
+       } else {
                G.PS1 = NULL;
+       }
        if (G.PS2 == NULL)
                G.PS2 = "> ";
 }