[cmd_init] Fixed missing semi-colon
This commit is contained in:
parent
b0432d1075
commit
3c57238b42
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue