1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #2322 from holta/pastebinit-bug-workaround

pastebinit bugs: try dpaste.com instead (for iiab-diagnostics command)
This commit is contained in:
A Holt 2020-04-04 13:01:19 -04:00 committed by GitHub
commit c19e96464b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -214,10 +214,10 @@ read ans < /dev/tty
echo -e "\e[1m" echo -e "\e[1m"
if [ "$ans" == "" ] || [ "$ans" == "y" ] || [ "$ans" == "Y" ]; then if [ "$ans" == "" ] || [ "$ans" == "y" ] || [ "$ans" == "Y" ]; then
echo -ne "PUBLISHING TO URL... " echo -ne "PUBLISHING TO URL... "
pastebinit < $outfile pastebinit -b dpaste.com < $outfile # Run 'pastebinit -l' to list other possible pastebin site URLs
else else
echo -e "If you later decide to publish it, run:" echo -e "If you later decide to publish it, run:"
echo echo
echo -e " pastebinit < $outfile" echo -e " pastebinit -b dpaste.com < $outfile"
fi fi
echo -e "\e[0m" echo -e "\e[0m"

View file

@ -47,7 +47,7 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
Or, you can later/manually upload it using the ``pastebinit`` command: Or, you can later/manually upload it using the ``pastebinit`` command:
``` ```
pastebinit < /etc/iiab/diag/NEW-FILE-NAME pastebinit -b dpaste.com < /etc/iiab/diag/NEW-FILE-NAME
``` ```
Either way, this will generate an actual web link (URL). Either way, this will generate an actual web link (URL).