Skip to content

Commit

Permalink
Merge pull request greenbone#340 from jjnicola/issue-resolution
Browse files Browse the repository at this point in the history
Add more information and problem resolution.
  • Loading branch information
bjoernricks authored Nov 12, 2020
2 parents 22e0093 + 9f8fa63 commit 982fdad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ospd/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ def create_pid(pidfile: str) -> bool:
pidpath = Path(pidfile)

if pidpath.is_file():
LOGGER.error("There is an already running process.")
LOGGER.error(
"There is an already running process. If no process is running, "
"please remove the pid file '%s' manually",
str(pidpath.absolute()),
)
return False

try:
Expand Down

0 comments on commit 982fdad

Please sign in to comment.