[BASESRV]
[reactos.git] / subsystems / win / basesrv / vdm.c
index c47f885..2934f8f 100644 (file)
@@ -340,6 +340,9 @@ BOOLEAN NTAPI BaseSrvCopyCommand(PBASE_CHECK_VDM CheckVdmRequest, PVDM_DOS_RECOR
     /* Set the DOS record's command structure */
     DosRecord->CommandInfo = CommandInfo;
 
+    /* The operation was successful */
+    Success = TRUE;
+
 Cleanup:
     /* If it wasn't successful, free the memory */
     if (!Success) BaseSrvFreeVDMInfo(CommandInfo);