mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix errorlevel for type, the r16766 was Brandon Turner patch sorry I forgt menoty his name.
svn path=/trunk/; revision=16776
This commit is contained in:
@@ -78,6 +78,8 @@ INT cmd_type (LPTSTR cmd, LPTSTR param)
|
||||
continue;
|
||||
}
|
||||
|
||||
nErrorLevel = 0;
|
||||
|
||||
hFile = CreateFile(argv[i],
|
||||
GENERIC_READ,
|
||||
FILE_SHARE_READ,NULL,
|
||||
@@ -97,6 +99,7 @@ INT cmd_type (LPTSTR cmd, LPTSTR param)
|
||||
NULL);
|
||||
ConErrPrintf (_T("%s - %s"), argv[i], errmsg);
|
||||
LocalFree (errmsg);
|
||||
nErrorLevel = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user