From 9cd94dabc2b77ce2de3e32a505e4bf72f7f4ea8b Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 1 May 2020 09:52:06 +0200 Subject: [PATCH] An empty lock file shouldn't stop the program --- lib/bkctld-rm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bkctld-rm b/lib/bkctld-rm index 67616f4..59035da 100755 --- a/lib/bkctld-rm +++ b/lib/bkctld-rm @@ -26,7 +26,7 @@ kill_or_clean_lockfile() { warning "Process not found at PID \`${pid}'. Ignoring lock file \`${lock_file}'." fi else - error "Empty lockfile \`${lock_file}'. It should contain a PID." + warning "Empty lockfile \`${lock_file}'. It should contain a PID." fi # Remove the lock file rm -f ${lock_file}