Update diagnose script

This commit is contained in:
clsty
2025-02-18 11:15:34 +08:00
parent dc058cba1f
commit 61a0ec9199
+4 -2
View File
@@ -86,8 +86,10 @@ x agsv1 --version
e "Finished. Output saved as \"$output_file\"."
if ! command -v curl 2>&1 >>/dev/null ;then echo "\"curl\" not found, pastebin upload unavailable.";exit;fi
echo "(Optional) Do you agree to upload the file \"$output_file\" to the online pastebin (https://0x0.st)?"
echo "Note: it is a public service and the logfile will be expired in 15 days."
echo "You should have a look at the content of \"$output_file\" before agreeing to upload it."
echo "Notes:"
echo "1. It is a public service and the logfile will be expired in 15 days."
echo "2. You should have a look at the content of \"$output_file\" before agreeing to upload it."
echo "3. Only agree when necessary, typically when you are creating an issue and not able to upload the \"diagnose.result\" file there or copy-paste the output directly."
read -p "y=yes, n=no (default) ====> " p
case $p in
[yY]) echo "OK, uploading..."