ash: remove stray semicolon to fix prompt in !EDITING_FANCY_PROMPT case

Patch by Robert Sandholzer.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko committed 2026-10-05 00:35:36 +02:00
1 parent e65b560038
commit 93bacaa199
1 file changed
+1 -1
+1 -1
View File
@@ -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;