Skip to content

Commit e30ccb9

Browse files
committed
CLEANUP: literally this was my own feedback on my own changes I forgot to push before merging
1 parent db3894b commit e30ccb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

launcher

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ compare_version() {
140140
return 1
141141
}
142142

143-
die () {
144-
echo -e "\n$1\n" >&2
143+
fatal () {
144+
echo -e "\n$1\n"
145145
exit "${2:-1}"
146146
}
147147

@@ -713,7 +713,7 @@ run_bootstrap() {
713713
$docker_path commit \
714714
-c "LABEL org.opencontainers.image.created=\"$(TZ=UTC date -Iseconds)\"" \
715715
"$CONTAINER_ID" \
716-
$local_discourse/$config || die "FAILED TO COMMIT $CONTAINER_ID"
716+
$local_discourse/$config || fatal "FAILED TO COMMIT $CONTAINER_ID"
717717
$docker_path rm "$CONTAINER_ID"
718718
}
719719

0 commit comments

Comments
 (0)