diff --git a/lib/bkctld-rm b/lib/bkctld-rm index 67e3024..fb61452 100755 --- a/lib/bkctld-rm +++ b/lib/bkctld-rm @@ -14,7 +14,7 @@ kill_or_clean_lockfile() { # Get Process ID from the lock file pid=$(cat "${lock_file}") if [ -n "${pid}" ]; then - if kill -0 ${pid} 2> /dev/null; then + if kill -0 "${pid}" 2> /dev/null; then # Kill the children pkill -9 --parent "${pid}" # Kill the parent