Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] manage.sh return with actions exit status

Adam Tauberdbf4f83231b8
diff --git a/manage.sh b/manage.sh
index 3e1f59429..0a21f0eb3 100755
--- a/manage.sh
+++ b/manage.sh
@@ -90,6 +90,6 @@ Commands
"
}
-[ "$(command -V "$ACTION" | grep ' function$')" != "" ] \
- && $ACTION \
- || help "action not found"
+[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
+ && help "action not found" \
+ || $ACTION