add error code for file not found it was missing on one place
authorMagnus Olsen <magnus@greatlord.com>
Tue, 21 Jun 2005 22:07:44 +0000 (22:07 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Tue, 21 Jun 2005 22:07:44 +0000 (22:07 +0000)
svn path=/trunk/; revision=16211

reactos/subsys/system/cmd/error.c

index 34891bb..d61edfa 100644 (file)
@@ -136,6 +136,7 @@ VOID error_sfile_not_found (LPTSTR f)
 
        LoadString(CMD_ModuleHandle, STRING_ERROR_FILE_NOT_FOUND, szMsg, RC_STRING_MAX_SIZE);
        ConErrPrintf(_T("%s - %s\n"), szMsg, f);
+  nErrorLevel = 1;
 }