Correctly check number of arguments when creating a dendrite account
This is probably a continuation of changes made in d7ed672f7
.
This commit is contained in:
parent
86ab4bc5e2
commit
e74e3c9e8f
@ -1,7 +1,7 @@
|
|||||||
#jinja2: lstrip_blocks: "True"
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 3 ]; then
|
||||||
echo "Usage: "$0" <username> <password> <admin access: 0 or 1>"
|
echo "Usage: "$0" <username> <password> <admin access: 0 or 1>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user