summaryrefslogtreecommitdiff
path: root/utils/searx.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 17:59:58 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 17:59:58 +0100
commit2f40f61f83afb34f0c4b95019a53050a504ce43a (patch)
tree98d8f8f0f6110fef0f494aef98d78aedeac31b8f /utils/searx.sh
parentd07119ca490eb01b5b4506fb02433a59deb0ac19 (diff)
/etc/filtron/rules.json: normalize rules from docs & tooling box
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-xutils/searx.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/searx.sh b/utils/searx.sh
index 707009a11..7609a4acf 100755
--- a/utils/searx.sh
+++ b/utils/searx.sh
@@ -110,7 +110,7 @@ If needed, set PUBLIC_URL of your WEB service in the '${DOT_CONFIG#"$REPO_ROOT/"
SERVICE_USER : ${SERVICE_USER}
EOF
- [ ! -z ${1+x} ] && echo -e "$1"
+ [ ! -z ${1+x} ] && err_msg "$1"
}
main() {
@@ -120,7 +120,7 @@ main() {
dpkg systemctl apt-get install git wget curl \
|| exit
- local _usage="ERROR: unknown or missing $1 command $2"
+ local _usage="unknown or missing $1 command $2"
case $1 in
--source-only) ;;
@@ -190,7 +190,7 @@ main() {
*) usage "$_usage"; exit 42;;
esac ;;
- *) usage "ERROR: unknown or missing command $1"; exit 42;;
+ *) usage "unknown or missing command $1"; exit 42;;
esac
}