fix errorlevel for type, the r16766 was Brandon Turner patch sorry I
forgt menoty his name.
Modified: trunk/reactos/subsys/system/cmd/type.c
_____
Modified: trunk/reactos/subsys/system/cmd/type.c
--- trunk/reactos/subsys/system/cmd/type.c 2005-07-27 01:31:34 UTC
(rev 16775)
+++ trunk/reactos/subsys/system/cmd/type.c 2005-07-27 01:38:00 UTC
(rev 16776)
@@ -78,6 +78,8 @@
continue;
}
+ nErrorLevel = 0;
+
hFile = CreateFile(argv[i],
GENERIC_READ,
FILE_SHARE_READ,NULL,
@@ -97,6 +99,7 @@
NULL);
ConErrPrintf (_T("%s - %s"), argv[i], errmsg);
LocalFree (errmsg);
+ nErrorLevel = 1;
continue;
}