[cmd_init] Fixed missing semi-colon

This commit is contained in:
ayakael 2018-05-16 00:14:05 -07:00
parent b0432d1075
commit 3c57238b42
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -19,6 +19,6 @@ cmd_init() {
_msg EXEC "Initializing ${TARGET}"
echo -e "REPO_ID\t$(git -C "${GIT_DIR}" rev-list HEAD | tail -n 1)" > ${DB_FILE} 2>${STDERR}
[[ $? -ne 0 ]] && { _msg WARN; return 2 }
[[ $? -ne 0 ]] && { _msg WARN; return 2; }
_msg OK
}