diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-25 19:46:28 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-25 19:46:28 -0400 |
commit | b06bb6a14ed99c273b1909d2328937595e3b3504 (patch) | |
tree | 2a2d4a47710c38e04b58afcbd08009eecb5d331b /Utility | |
parent | 48503d747011befb10f01a1ee4097ddc93103d20 (diff) |
terminateProcessId renamed
win32 upstream suggested a better name
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/Daemon.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/Daemon.hs b/Utility/Daemon.hs index 2cb0864d2..398e6d9e7 100644 --- a/Utility/Daemon.hs +++ b/Utility/Daemon.hs @@ -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. |