diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2016-02-21 18:54:17 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2016-02-21 18:54:17 +0000 |
| commit | c39f3bac71af80db95b52a86bb4b16f9cb95deb6 (patch) | |
| tree | 936f396096f5dce259ecd2353927c5b450bf13ad /bin/sh/parser.c | |
| parent | 5036353a49355b8a984347eb5377693cff9aaa5f (diff) | |
Notes
Diffstat (limited to 'bin/sh/parser.c')
| -rw-r--r-- | bin/sh/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 53d7923f8755..d324d88a8f18 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -1930,6 +1930,8 @@ static void setprompt(int which) { whichprompt = which; + if (which == 0) + return; #ifndef NO_HISTORY if (!el) |
