This commit is contained in:
neilpang 2016-10-29 21:33:34 +08:00
parent 72518d4827
commit 0d2c26735e

View File

@ -2073,7 +2073,7 @@ registeraccount() {
}
__calcAccountKeyHash() {
cat "$ACCOUNT_KEY_PATH" | _digest sha256
[ -f "$ACCOUNT_KEY_PATH" ] && cat "$ACCOUNT_KEY_PATH" | _digest sha256
}
_regAccount() {