projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b784c7b
)
[WINLOGON] Prevent shell restart when the user is logged off
author
Eric Kohl
<eric.kohl@reactos.org>
Tue, 22 May 2018 12:36:55 +0000
(14:36 +0200)
committer
Eric Kohl
<eric.kohl@reactos.org>
Tue, 22 May 2018 12:36:55 +0000
(14:36 +0200)
base/system/winlogon/sas.c
patch
|
blob
|
history
diff --git
a/base/system/winlogon/sas.c
b/base/system/winlogon/sas.c
index
e9861de
..
fe558c4
100644
(file)
--- a/
base/system/winlogon/sas.c
+++ b/
base/system/winlogon/sas.c
@@
-1372,7
+1372,9
@@
SASWindowProc(
case LN_SHELL_EXITED:
{
/* lParam is the exit code */
- if(lParam != 1)
+ if (lParam != 1 &&
+ Session->LogonState != STATE_LOGGED_OFF &&
+ Session->LogonState != STATE_LOGGED_OFF_SAS)
{
SetTimer(hwndDlg, 1, 1000, NULL);
}