1
0
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:
Marcel Moolenaar 1999-11-12 08:59:41 +00:00
parent d07bc90792
commit cb793943b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53104

View File

@ -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>' */