From: Brandon Turner Date: Thu, 18 Aug 2005 15:21:57 +0000 (+0000) Subject: make dir change errorlevel to 0 on success. X-Git-Tag: ReactOS-0.2.8~972 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=106794e0ab102a8f8552117991d8a7f852a94eb8 make dir change errorlevel to 0 on success. svn path=/trunk/; revision=17428 --- diff --git a/reactos/subsys/system/cmd/dir.c b/reactos/subsys/system/cmd/dir.c index 7026430725a..01636f4cb49 100644 --- a/reactos/subsys/system/cmd/dir.c +++ b/reactos/subsys/system/cmd/dir.c @@ -2007,6 +2007,7 @@ INT CommandDir(LPTSTR first, LPTSTR rest) &nLine, &stFlags); + nErrorLevel = 0; return 0; }