cmd: Do not reset errorlevel during SET.
This commit is contained in:
parent
7506d41e75
commit
f29674e86f
|
@ -2265,7 +2265,6 @@ void WCMD_setshow_env (WCHAR *s) {
|
||||||
int status;
|
int status;
|
||||||
static const WCHAR parmP[] = {'/','P','\0'};
|
static const WCHAR parmP[] = {'/','P','\0'};
|
||||||
|
|
||||||
errorlevel = 0;
|
|
||||||
if (param1[0] == 0x00 && quals[0] == 0x00) {
|
if (param1[0] == 0x00 && quals[0] == 0x00) {
|
||||||
env = GetEnvironmentStringsW();
|
env = GetEnvironmentStringsW();
|
||||||
WCMD_setshow_sortenv( env, NULL );
|
WCMD_setshow_sortenv( env, NULL );
|
||||||
|
|
Loading…
Reference in New Issue