Skip to content

Commit 4c1398e

Browse files
committed
Hardcode system netcat in it2ssh for issue 10802 because GNU netcat doesn't have -U
1 parent db79241 commit 4c1398e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities/it2ssh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
5252
TOKEN=""
5353
for SOCKET in ~/.config/iterm2/sockets/secrets ~/.iterm2/sockets/secrets ~/.iterm2-1/sockets/secrets
5454
do
55-
[ -z "$TOKEN" ] && TOKEN=$(nc -U $SOCKET || true)
55+
[ -z "$TOKEN" ] && TOKEN=$(/usr/bin/nc -U $SOCKET || true)
5656
done
5757
else
5858
TOKEN="none"

0 commit comments

Comments
 (0)