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:
1 parent
e65b560038
commit
93bacaa199
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user