diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-04-30 21:24:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-04-30 21:24:24 +0200 |
commit | 690ad2426e38e8257f9266992c28c7d5e05eafa5 (patch) | |
tree | 052900a50f930356327ecc1b1680d7bbe965be1f /shell | |
parent | 1fd3b38fd19057e7b048e08d6157ece06874feb1 (diff) | |
download | busybox-w32-690ad2426e38e8257f9266992c28c7d5e05eafa5.tar.gz busybox-w32-690ad2426e38e8257f9266992c28c7d5e05eafa5.tar.bz2 busybox-w32-690ad2426e38e8257f9266992c28c7d5e05eafa5.zip |
git commit test
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
1453 | if (G.PS1 == NULL) | 1453 | if (G.PS1 == NULL) |
1454 | G.PS1 = "\\w \\$ "; | 1454 | G.PS1 = "\\w \\$ "; |
1455 | G.PS2 = get_local_var_value("PS2"); | 1455 | G.PS2 = get_local_var_value("PS2"); |
1456 | } else | 1456 | } else { |
1457 | G.PS1 = NULL; | 1457 | G.PS1 = NULL; |
1458 | } | ||
1458 | if (G.PS2 == NULL) | 1459 | if (G.PS2 == NULL) |
1459 | G.PS2 = "> "; | 1460 | G.PS2 = "> "; |
1460 | } | 1461 | } |