From: Denys Vlasenko Date: Thu, 30 Apr 2009 19:24:24 +0000 (+0200) Subject: git commit test X-Git-Tag: 1_15_0~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=sidebyside;h=690ad2426e38e8257f9266992c28c7d5e05eafa5;p=oweals%2Fbusybox.git git commit test Signed-off-by: Denys Vlasenko --- diff --git a/shell/hush.c b/shell/hush.c index 45a9733cf..692076cf4 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -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 = "> "; }