]> git.ameliathe1st.gay Git - git-over-gnunet.git/commitdiff
Change logging a bit for git-remote-gnunet
authorAmélia Coutard-Sander <git@ameliathe1st.gay>
Mon, 25 Nov 2024 20:56:15 +0000 (21:56 +0100)
committerAmélia Coutard-Sander <git@ameliathe1st.gay>
Mon, 25 Nov 2024 20:56:15 +0000 (21:56 +0100)
git-remote-gnunet

index 21626799af7430103e8f47da3ac6f9799bfd249a..23add181e4d462efe8e730f827d02abbf8366821 100755 (executable)
@@ -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"