diff --git a/reinstall-magisk-on-lineageos b/reinstall-magisk-on-lineageos index 48e4e21..ee3104a 100755 --- a/reinstall-magisk-on-lineageos +++ b/reinstall-magisk-on-lineageos @@ -10,7 +10,7 @@ PHONE_ADB_SERIAL_NUMBER=${ADB_DEVICE} # The adb serial number can be found by ru if [$PHONE_ADB_SERIAL_NUMBER = '']; then PHONE_ADB_SERIAL_NUMBER=$(echo $(adb devices) | sed -rn 's/(^|(.* ))([^ ]*) device(( .*)|$)/\3/; T; p; q') if [[ -z $PHONE_ADB_SERIAL_NUMBER ]]; then - print_message "ERROR: no suitable phone connected" + print_message "ERROR: no phone connected or connection unauthorized" exit 1 fi fi