Print a newline after 'path' command
This commit is contained in:
parent
5c1c653098
commit
6ed2396a2e
1 changed files with 4 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue