summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/spicedb7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/spicedb b/bin/spicedb
index acd1ee09..6c43a153 100755
--- a/bin/spicedb
+++ b/bin/spicedb
@@ -1,3 +1,8 @@
#!/bin/sh
-exec spiced $@
+if ! command -v spicedb >/dev/null 2>&1; then
+ echo "Install spicedb: https://authzed.com/docs/spicedb/getting-started/installing-spicedb"
+ exit 1
+fi
+
+exec spicedb "$@"