From: Amélia Coutard-Sander Date: Mon, 25 Nov 2024 20:56:15 +0000 (+0100) Subject: Change logging a bit for git-remote-gnunet X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=1579d1e8ff6181d686de578bc93b39100bc38833;p=git-over-gnunet.git Change logging a bit for git-remote-gnunet --- diff --git a/git-remote-gnunet b/git-remote-gnunet index 2162679..23add18 100755 --- a/git-remote-gnunet +++ b/git-remote-gnunet @@ -19,12 +19,13 @@ while read -r cmd arg; do done echo '' +echo >&2 "Looking up $gns." server="$(gnunet-gns -u "$gns" -t TXT -r)" if test -z "$server"; then - echo "Address lookup failed: \`$gns'." >&2 + echo >&2 "Address lookup failed: \`$gns'." exit 1 fi peer="$(echo "$server" | cut -d: -f1)" port="$(echo "$server" | cut -d: -f2)" -echo "Attempting to connect to peer $peer, on port $port-$arg." >&2 +echo >&2 "Attempting to connect to peer $peer, on port $port-$arg." exec gnunet-cadet "$peer" "$port-$arg"