[RAPPS]
authorAlexander Shaposhnikov <sanchaez@reactos.org>
Tue, 15 Aug 2017 21:39:21 +0000 (21:39 +0000)
committerAlexander Shaposhnikov <sanchaez@reactos.org>
Tue, 15 Aug 2017 21:39:21 +0000 (21:39 +0000)
- Quit CmdParser() as soon as no valid key supplied

svn path=/branches/GSoC_2017/rapps/; revision=75559

reactos/base/applications/rapps/unattended.cpp

index c23b8bf..6366d1e 100644 (file)
@@ -56,6 +56,8 @@ BOOL CmdParser(LPWSTR lpCmdLine)
         while (SetupFindNextLine(&Context, &Context));
         SetupCloseInfFile(InfHandle);
     }
+    else
+        return FALSE;
 
     CAvailableApps apps;
     apps.EnumAvailableApplications(ENUM_ALL_AVAILABLE, NULL);