An empty lock file shouldn't stop the program
This commit is contained in:
parent
ebfc16f65a
commit
9cd94dabc2
|
@ -26,7 +26,7 @@ kill_or_clean_lockfile() {
|
||||||
warning "Process not found at PID \`${pid}'. Ignoring lock file \`${lock_file}'."
|
warning "Process not found at PID \`${pid}'. Ignoring lock file \`${lock_file}'."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
error "Empty lockfile \`${lock_file}'. It should contain a PID."
|
warning "Empty lockfile \`${lock_file}'. It should contain a PID."
|
||||||
fi
|
fi
|
||||||
# Remove the lock file
|
# Remove the lock file
|
||||||
rm -f ${lock_file}
|
rm -f ${lock_file}
|
||||||
|
|
Loading…
Reference in a new issue