Explorar o código

Putting the servername in the Pastebin title page details through
the curl post.

CedarLUG %!s(int64=9) %!d(string=hai) anos
pai
achega
3928045b56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_postdetails.sh

+ 1 - 1
lgsm/functions/command_postdetails.sh

@@ -115,7 +115,7 @@ if [ "$POSTTARGET" == "http://pastebin.com" ] ; then
    #
    link=$(curl -s "$POSTTARGET/post.php" -D - -F "submit_hidden=submit_hidden" \
 	       -F "post_key=$TOKEN" -F "paste_expire_date=${POSTEXPIRE}" \
-	       -F "paste_name=LGSM Debug post" \
+	       -F "paste_name=${gamename} Debug Info" \
                -F "paste_format=8" -F "paste_private=0" \
                -F "paste_type=bash" -F "paste_code=<${tmpfile}" |
 	       awk '/^location: / { print $2 }' | sed "s/\n//g")