1
0
Fork 0

Print a newline after 'path' command

This commit is contained in:
Patryk Obara 2019-12-28 19:06:04 +01:00 committed by Patryk Obara
parent 5c1c653098
commit 6ed2396a2e

View file

@ -1389,11 +1389,10 @@ void DOS_Shell::CMD_PATH(char *args){
return;
} else {
std::string line;
if(GetEnvStr("PATH",line)) {
WriteOut("%s",line.c_str());
} else {
WriteOut("PATH=(null)");
}
if (GetEnvStr("PATH", line))
WriteOut("%s\n", line.c_str());
else
WriteOut("PATH=(null)\n");
}
}