diff --git a/reactos/win32ss/user/winsrv/consrv/console.c b/reactos/win32ss/user/winsrv/consrv/console.c index 81a39c54e7f..441e07d74de 100644 --- a/reactos/win32ss/user/winsrv/consrv/console.c +++ b/reactos/win32ss/user/winsrv/consrv/console.c @@ -651,8 +651,8 @@ CSR_API(SrvConsoleNotifyLastClose) /* Only one process is allowed to be registered for last close notification */ if (!Console->NotifyLastClose) { - Console->NotifiedLastCloseProcess = ProcessData; Console->NotifyLastClose = TRUE; + Console->NotifiedLastCloseProcess = ProcessData; Status = STATUS_SUCCESS; } else