From b761967f95af91db77bc8637c72fe47e5a62aa5c Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 5 Dec 2024 04:25:11 -0800 Subject: [PATCH] burl: fix `websocat` fallback --- sh/burl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/burl b/sh/burl index 274ad28..7fa88ed 100755 --- a/sh/burl +++ b/sh/burl @@ -49,7 +49,7 @@ burl() ( ### @- elif socat /dev/null /dev/null then wrapped() { process socat - "TCP:$1:$2" ;} elif websocat; [ $? = 1 ] - then wrapped() { websocat --binary - "tcp:$1:$2" ;} + then wrapped() { process websocat --binary - "tcp:$1:$2" ;} elif curl; [ $? = 2 ] then wrapped() { process curl "telnet://$1:$2" ;} else return 127