Skip to content

Commit

Permalink
fix typo on rdm config
Browse files Browse the repository at this point in the history
  • Loading branch information
Astu04 authored Mar 19, 2024
1 parent 4c829e8 commit 7c73999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/ATVServices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ if result=$(check_mitmpkg); then
for i in $pids; do /data/adb/magisk/busybox chrt -r -p 99 $i & done
fi

if [ -n "$rdm_user" ] && [ -n "$rdm_password" ] && [ -n "$rdm_backend" ]; then # In case rdm variables are confiugred
if [ -n "$rdm_user" ] && [ -n "$rdm_password" ] && [ -n "$rdm_backendURL" ]; then # In case rdm variables are confiugred
log -p i -t eMagiskATVService "Started rdm health check!"
response=$(curl -s -w "%{http_code}" --cacert "$cacert_path" -u "$rdm_user":"$rdm_password" "$rdm_backendURL/api/get_data?show_devices=true&formatted=false")
statusCode=$(echo "$response" | tail -c 4)
Expand Down

0 comments on commit 7c73999

Please sign in to comment.