mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -424,6 +424,11 @@ namespace Jackett.Updater
|
||||
}
|
||||
}
|
||||
|
||||
// remove .lock file to detect errors in the update process
|
||||
var lockFilePath = Path.Combine(options.Path, ".lock");
|
||||
if (File.Exists(lockFilePath))
|
||||
File.Delete(lockFilePath);
|
||||
|
||||
// kill pids after the update on UNIX
|
||||
if (!isWindows)
|
||||
KillPids(pids);
|
||||
|
Reference in New Issue
Block a user