summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2022-08-27 20:21:35 -0400
committerHeiko Becker <mail@heiko-becker.de>2022-11-21 21:54:32 +0100
commitfcc8cc60747a71c35468d5e37caabac6f017a75c (patch)
tree433810085b23829470767d11583a2b7c633328c1
parentebb20cb037e37a5e7ec8ea3961b5ac201ea1fe9b (diff)
downloadwgetpaste-fcc8cc60747a71c35468d5e37caabac6f017a75c.tar.gz
change default service to bpaste from dpaste
dpaste intermittently fails DNSSEC authentication which causes it to be inaccessible for people who have DNSSEC enabled. Other services do not seem to have this issue, and bpaste seems to be a reasonable default.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 3e27247..6a9d91f 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -845,7 +845,7 @@ load_configs() {
load_configs
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-dpaste}
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}