summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-11-12 08:59:41 +0000
committermarcel <marcel@FreeBSD.org>1999-11-12 08:59:41 +0000
commitdc10af68ca843a358a44f3884c2e97a72027b4d8 (patch)
tree4ed935f90ac3477c5b362b67094817f3535b5a81 /usr.bin/doscmd
parent528e4a21f91af60aee092a19e393b1c340967201 (diff)
downloadFreeBSD-src-dc10af68ca843a358a44f3884c2e97a72027b4d8.zip
FreeBSD-src-dc10af68ca843a358a44f3884c2e97a72027b4d8.tar.gz
Fix the case where there's no path and doscmd defaults it to C:\
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r--usr.bin/doscmd/doscmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/doscmd.c b/usr.bin/doscmd/doscmd.c
index e8b3482..11665aa 100644
--- a/usr.bin/doscmd/doscmd.c
+++ b/usr.bin/doscmd/doscmd.c
@@ -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>' */
OpenPOWER on IntegriCloud