Magisk Hide enable/disable scripts fix

This commit is contained in:
Deiki-kun 2017-03-26 23:51:23 +02:00 committed by topjohnwu
parent 6e8e4ad5da
commit 469aba8ed0
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ log_print() {
}
# Only disable when MagiskHide is started
ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 || exit
$TOOLPATH/ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 || exit
log_print "Stopping MagiskHide daemon"

View File

@ -12,7 +12,7 @@ log_print() {
}
# Only enable when isn't started
ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 && exit
$TOOLPATH/ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 && exit
if [ ! -d /sbin_orig ]; then
log_print "Moving and re-linking /sbin binaries"