瀏覽代碼

Correctly check number of arguments when creating a dendrite account

This is probably a continuation of changes made in d7ed672f7.
pull/2084/head
Silas 4 年之前
父節點
當前提交
e74e3c9e8f
共有 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"
#!/bin/bash

if [ $# -ne 2 ]; then
if [ $# -ne 3 ]; then
echo "Usage: "$0" <username> <password> <admin access: 0 or 1>"
exit 1
fi


Loading…
取消
儲存