Skip to content

Commit

Permalink
Merge pull request #5991 from manics/omero-web-unclean-shutdown
Browse files Browse the repository at this point in the history
Warn instead of failing when stale pid successfully removed
  • Loading branch information
joshmoore authored May 8, 2019
2 parents 7b864f3 + 7d2ded7 commit 6fb08b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tools/OmeroPy/src/omero/plugins/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def start(self, args, settings):
if pid:
if not self._check_pid(pid, pid_path):
pid_path.remove()
self.ctx.die(608, "Removed stale %s" % pid_path)
self.ctx.err("WARNING: Removed stale %s" % pid_path)
else:
self.ctx.die(606,
"[FAILED] OMERO.web already started. "
Expand Down

0 comments on commit 6fb08b8

Please sign in to comment.