mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-05 16:57:17 +08:00
Also improves migrations and updates the db schema docs. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -76,14 +76,14 @@ func childAlreadyRunning(filePath string) (pid int, running bool) {
|
||||
|
||||
pid, err := daemon.ReadPidFile(filePath)
|
||||
|
||||
// Failed?
|
||||
// RunFailed?
|
||||
if err != nil {
|
||||
return pid, false
|
||||
}
|
||||
|
||||
process, err := os.FindProcess(pid)
|
||||
|
||||
// Failed?
|
||||
// RunFailed?
|
||||
if err != nil {
|
||||
return pid, false
|
||||
}
|
||||
|
Reference in New Issue
Block a user