mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:35:39 +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…
Reference in a new issue