mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 08:15:36 +00:00
cmd: A successful set should reset the errorlevel.
This commit is contained in:
parent
b9550ad352
commit
f9b4c78a89
@ -2366,6 +2366,7 @@ void WCMD_setshow_env (WCHAR *s) {
|
||||
if ((!status) & (gle == ERROR_ENVVAR_NOT_FOUND)) {
|
||||
errorlevel = 1;
|
||||
} else if ((!status)) WCMD_print_error();
|
||||
else errorlevel = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -201,13 +201,13 @@ baz@space@
|
||||
@todo_wine@0
|
||||
------------ Testing 'set' ------------
|
||||
1
|
||||
@todo_wine@0
|
||||
0
|
||||
FOOBAR not defined
|
||||
@todo_wine@ baz
|
||||
FOOBAR = baz
|
||||
@todo_wine@0
|
||||
0
|
||||
@todo_wine@ baz2
|
||||
@todo_wine@0
|
||||
0
|
||||
bar
|
||||
@todo_wine@FOOBAR= bar
|
||||
@todo_wine@FOOBAR = baz2
|
||||
|
Loading…
x
Reference in New Issue
Block a user