Skip to content

Commit

Permalink
Proper logging instead of echo
Browse files Browse the repository at this point in the history
  • Loading branch information
Astu04 authored Dec 22, 2023
1 parent cfbcd24 commit 7056791
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom/ATVServices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,8 @@ if result=$(check_mitmpkg); then

# Check if the process is running and adjust I/O priority if found
if [ -n "$BUSYBOX_PS_OUTPUT" ]; then
echo "com.nianticlabs.pokemongo is running. Adjusting I/O priority..."
log -p i -t eMagiskATVService "com.nianticlabs.pokemongo is running. Adjusting I/O priority..."
ionice -p $(pidof com.nianticlabs.pokemongo) -c 0 -n 0
else
echo "com.nianticlabs.pokemongo is not running."
fi

log -p i -t eMagiskATVService "Started health check!"
Expand Down

0 comments on commit 7056791

Please sign in to comment.