Fix dict resolving due to a bug in dictd(8). - 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 710651b05b5b177bc46fb444ba0e6a0d9b26210c DIR parent 5412aaa9b4b4a5f2a03f3d045cdc625aa7bd5874 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 1 Nov 2020 14:57:10 +0100 Fix dict resolving due to a bug in dictd(8). Diffstat: M annna-start-services | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -195,11 +195,11 @@ annna_common() { ;; *) puri="" - dresult="$(dict "dict://parazyd.org/d:${word}")" + dresult="$(dict -h parazyd.org "${word}" 2>/dev/null)" derr=$? if [ $derr -eq 20 ]; then - dresult="$(dict "dict://parazyd.org/d:${word}")" + dresult="$(dict -h parazyd.org "${word}" 2>/dev/null)" derr2="$?" [ $derr2 -ne $derr ] && derr=$derr2 fi