From e74e3c9e8f3c8c4c0b5222ad60284fe8bdb80e8f Mon Sep 17 00:00:00 2001 From: Silas Date: Thu, 1 Sep 2022 22:23:02 -0300 Subject: [PATCH] Correctly check number of arguments when creating a dendrite account This is probably a continuation of changes made in d7ed672f7. --- .../dendrite/usr-local-bin/matrix-dendrite-create-account.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2 b/roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2 index 507c7012..edfa521b 100644 --- a/roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2 +++ b/roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2 @@ -1,7 +1,7 @@ #jinja2: lstrip_blocks: "True" #!/bin/bash -if [ $# -ne 2 ]; then +if [ $# -ne 3 ]; then echo "Usage: "$0" " exit 1 fi