mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-27 14:21:34 +00:00
Kill process after remove from list
This commit is contained in:
@@ -6,4 +6,6 @@ if [ ! -z "$1" ]; then
|
||||
mv $HIDELIST $HIDELIST.tmp
|
||||
cat $HIDELIST.tmp | grep -v "^$1$" > $HIDELIST
|
||||
rm -f $HIDELIST.tmp
|
||||
set `/data/busybox/ps -o pid,args | grep "$1" | grep -v "grep"`
|
||||
kill "$1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user