1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-08-10 21:52:20 +02:00

Merge pull request #2084 from silasdb/master

Correctly check number of arguments when creating a dendrite account
This commit is contained in:
Slavi Pantaleev
2022-09-02 06:29:49 +03:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
if [ $# -ne 2 ]; then
if [ $# -ne 3 ]; then
echo "Usage: "$0" <username> <password> <admin access: 0 or 1>"
exit 1
fi