@@ -71,7 +71,7 @@ locales() {
74− [ -z "$1" ] || echo "Error: $1\n"
74+ [ -z "$1" ] || echo -e "Error: $1\n"
75 echo "Searx manage.sh help
75 echo "Searx manage.sh help
@@ -90,7 +90,7 @@ Commands
93−if type $ACTION 1>/dev/null; then
93+if [ -n "$(type -t $ACTION)" ] && [ "$(type -t $ACTION)" = function ]; then
96 help "action not found"
96 help "action not found"