From d22c783b7fd40643da49974bf59ac8bbd4eb5bad Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 4 Mar 2003 17:23:59 +0000 Subject: [PATCH] No need for force reboot, "Therefore, you should only use this flag in an emergency." git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2234 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index 36c1fa55..2bd57294 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -1096,7 +1096,7 @@ static int NSISCALL ExecuteEntry(entry *entry_) } } - if (ExitWindowsEx(EWX_REBOOT|EWX_FORCE,0)) ExitProcess(0); + if (ExitWindowsEx(EWX_REBOOT,0)) ExitProcess(0); FreeLibrary(h);