Skip to content

Commit da69421

Browse files
authored
Return the exit code from the last command after forcing update to main branch (GhostWriters#2010)
1 parent 56b8148 commit da69421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ switch_branch() {
388388
export FORCE
389389
PROMPT="CLI"
390390
run_script 'update_self' "${TargetBranch}" bash "${SCRIPTNAME}" "$@"
391-
exit 0
391+
exit
392392
fi
393393
}
394394

0 commit comments

Comments
 (0)