Fix inverted logic in suspending process. Now this is symmetric with the
authorArt Yerkes <art.yerkes@gmail.com>
Sun, 9 Sep 2007 07:39:45 +0000 (07:39 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sun, 9 Sep 2007 07:39:45 +0000 (07:39 +0000)
corresponding thaw.

svn path=/trunk/; revision=28963

reactos/ntoskrnl/dbgk/dbgkutil.c

index 38d38d3..1cd0749 100644 (file)
@@ -61,7 +61,7 @@ DbgkpSuspendProcess(VOID)
     PAGED_CODE();
 
     /* Make sure this isn't a deleted process */
-    if (PsGetCurrentProcess()->ProcessDelete)
+    if (!PsGetCurrentProcess()->ProcessDelete)
     {
         /* Freeze all the threads */
         KeFreezeAllThreads();