[KERNEL32]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 7 Mar 2014 17:42:56 +0000 (17:42 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 7 Mar 2014 17:42:56 +0000 (17:42 +0000)
Fix another bug in CreateProcessInternalW.

svn path=/branches/ntvdm/; revision=62440

dll/win32/kernel32/client/proc.c

index 046df81..f6ab475 100644 (file)
@@ -3966,6 +3966,8 @@ StartScan:
                                     &VdmWaitObject,
                                     VdmTask,
                                     VdmBinaryType);
+
+        if (!Result)
         {
             /* Bail out on failure */
             DPRINT1("Failed to update VDM with wait object\n");