summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-me.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index 940b86c..c215cf5 100644
--- a/update-me.in
+++ b/update-me.in
@@ -18,7 +18,7 @@ while [ $# -gt 0 ]; do
play_it_safe=true
;;
'x-c')
- if [ -f "${safety_file}" ] && kill -0 $(cat "${safety_file}"); then
+ if [ -f "${safety_file}" ] && ps $(cat "${safety_file}") >/dev/null; then
rm "${safety_file}"
exit 0
fi