[git commit] ash: remove stray semicolon to fix prompt in !EDITING_FANCY_PROMPT case
Denys Vlasenko
vda.linux at googlemail.com
Sun Oct 4 22:35:36 UTC 2026
commit: https://git.busybox.net/busybox/commit/?id=93bacaa199455ebf1a594027b8f53aa0747194f6
branch: https://git.busybox.net/busybox/log/?h=master
Patch by Robert Sandholzer.
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/ash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/ash.c b/shell/ash.c
index b8ff67b16..9142feb8c 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2461,7 +2461,7 @@ initvar(void)
#if ENABLE_FEATURE_EDITING && ENABLE_FEATURE_EDITING_FANCY_PROMPT
vps1.var_text = "PS1=\\w \\$ ";
#else
- if (!get_cached_euid(&groupinfo.euid));
+ if (!get_cached_euid(&groupinfo.euid))
vps1.var_text = "PS1=# ";
#endif
vp = varinit;
More information about the busybox-cvs
mailing list