From 837e74a7436f12e5a68bc78cac0fd37a4b86c8bf Mon Sep 17 00:00:00 2001 From: kaso17 Date: Mon, 3 Sep 2018 17:23:18 +0200 Subject: [PATCH] Updater: cleanup --- src/Jackett.Updater/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index a1cd791ae..afe2dff52 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -96,9 +96,9 @@ namespace Jackett.Updater { var startInfo = new ProcessStartInfo(); startInfo.Arguments = "-15 " + pid; - startInfo.FileName = "/bin/kill"; + startInfo.FileName = "kill"; Process.Start(startInfo); - System.Threading.Thread.Sleep(1000); // just sleep, WaitForExit() doesn't seem to work on mono/linux (returns immediantly). + System.Threading.Thread.Sleep(1000); // just sleep, WaitForExit() doesn't seem to work on mono/linux (returns immediantly), https://bugzilla.xamarin.com/show_bug.cgi?id=51742 exited = proc.WaitForExit(2000); } catch (Exception e)