Commit 0d2c2673 authored by neilpang's avatar neilpang
Browse files

minor

parent 72518d48
......@@ -2073,7 +2073,7 @@ registeraccount() {
}
__calcAccountKeyHash() {
cat "$ACCOUNT_KEY_PATH" | _digest sha256
[ -f "$ACCOUNT_KEY_PATH" ] && cat "$ACCOUNT_KEY_PATH" | _digest sha256
}
_regAccount() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment