瀏覽代碼

Merge pull request #2084 from silasdb/master

Correctly check number of arguments when creating a dendrite account
pull/2085/head
Slavi Pantaleev 3 年之前
committed by GitHub
父節點
當前提交
b2aace3842
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2

+ 1
- 1
roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2 查看文件

@@ -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…
取消
儲存