summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-02 06:29:07 +0100
committerErich Eckner <git@eckner.net>2020-03-02 06:29:07 +0100
commite6709e2fecd0e629b179c190dce75f9ef03697f4 (patch)
tree4a63c2016018acba7811026622b40c26494969a5 /update-me.in
parent4dfdcba468c51335193e128a1d7e0116aed1264b (diff)
downloadupdate-all-e6709e2fecd0e629b179c190dce75f9ef03697f4.tar.xz
update-me.in: do not kill - it may not be allowed
Diffstat (limited to 'update-me.in')
-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