mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Fix the case where there's no path and doscmd defaults it to C:\
This commit is contained in:
parent
d07bc90792
commit
cb793943b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53104
@ -404,8 +404,8 @@ setup_command(int argc, char *argv[], regcontext_t *REGS)
|
||||
}
|
||||
/* No PATH, default to c:\ */
|
||||
if (i >= ecnt) {
|
||||
dos_path = envs[ecnt-1] + 5;
|
||||
put_dosenv("PATH=C:\\");
|
||||
dos_path = envs[ecnt-1] + 5;
|
||||
}
|
||||
|
||||
/* if no PROMPT, default to 'DOS>' */
|
||||
|
Loading…
Reference in New Issue
Block a user