From b06bb6a14ed99c273b1909d2328937595e3b3504 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 25 Oct 2017 19:46:28 -0400 Subject: terminateProcessId renamed win32 upstream suggested a better name --- Utility/Daemon.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Utility') 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. -- cgit v1.2.3