From 91dae87810e6cc4f479d067de54775faff01179a Mon Sep 17 00:00:00 2001 From: Jeff Ahrenholz Date: Wed, 4 Mar 2020 13:23:09 -0800 Subject: [PATCH] properly kill python3-based core-daemon when using 'core-cleanup -d' --- daemon/scripts/core-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/scripts/core-cleanup b/daemon/scripts/core-cleanup index f73275df..8182a917 100755 --- a/daemon/scripts/core-cleanup +++ b/daemon/scripts/core-cleanup @@ -19,7 +19,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin" export PATH if [ "z$1" = "z-d" ]; then - pypids=`pidof python python2` + pypids=`pidof python3 python` for p in $pypids; do grep -q core-daemon /proc/$p/cmdline if [ $? = 0 ]; then