terminateProcessId renamed
win32 upstream suggested a better name
This commit is contained in:
parent
0ae2ac282e
commit
584dbfb892
3 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ import Utility.PID
|
|||
#ifndef mingw32_HOST_OS
|
||||
import Utility.LogFile
|
||||
#else
|
||||
import System.Win32.Process (terminateProcessId)
|
||||
import System.Win32.Process (terminateProcessById)
|
||||
import Utility.LockFile
|
||||
#endif
|
||||
|
||||
|
@ -162,7 +162,7 @@ stopDaemon pidfile = go =<< checkDaemon pidfile
|
|||
#ifndef mingw32_HOST_OS
|
||||
signalProcess sigTERM pid
|
||||
#else
|
||||
terminateProcessId pid
|
||||
terminateProcessById pid
|
||||
#endif
|
||||
|
||||
{- Windows locks a lock file that corresponds with the pid of the process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue