Fix port parsing in new boring featured. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit c41f2f9727b26ba81b674249ac1e7fb6ab013ad1 DIR parent e488390589d91d7b15bb26922ed041b958d4eaa5 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 3 Apr 2018 19:34:28 +0200 Fix port parsing in new boring featured. Diffstat: M annna-start-services | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -195,7 +195,7 @@ then linktext="$(printf "%s\n" "${randomlink}" | cut -d '|' -f2)" linksel="$(printf "%s\n" "${randomlink}" | cut -d '|' -f3)" linkserver="$(printf "%s\n" "${randomlink}" | cut -d '|' -f4)" - linkport="$(printf "%s\n" "${randomlink}" | cut -d '|' -f5 | cut -c-2)" + linkport="$(printf "%s\n" "${randomlink}" | cut -d '|' -f5 | cut -d']' -f1)" outtext="$(printf "%s - gopher://%s" "$linktext" "$linkserver")" if [ "$linkport" != "70" -a "$linkport" != "port" ]; then