Skip to content

Commit 3edee95

Browse files
committed
create-appimage.sh: silence tput err msgs
tput is just a pretty-printer, suppress the errs like `tput: unknown terminal "unknown"` in CI (not relevant at all, just to make it clear)
1 parent 13a0c48 commit 3edee95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/scripts/Linux-AppImage/create-appimage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ umask 022
2222
# soft fail - fail in CI, otherwise continue
2323
handle_error() {
2424
red=1
25-
tput setaf $red || true
26-
tput bold || true
25+
tput setaf $red 2>/dev/null || true
26+
tput bold 2>/dev/null || true
2727
echo "$1" >&2
28-
tput sgr0 || true
28+
tput sgr0 2>/dev/null || true
2929
if [ -n "${GITHUB_REPOSITORY:-}" ]; then
3030
exit 2
3131
fi

0 commit comments

Comments
 (0)