Commit ec14fa71 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lock_db): Log a message when a stale lock is removed.

parent 2ca6cdb6
......@@ -121,6 +121,8 @@ int lock_db(void)
if (remove(param.lockfile_name) < 0 && errno != ENOENT)
restart_kom("Failed to remove stale lock symlink %s\n",
kom_log("Stale lock file left by %s removed.\n", current_lock);
restart_kom("Unreachable code reached in lock_db.\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment