Skip to content

Commit

Permalink
feat(ux): avoid starting bitcoin-qt if DISPLAY is unset (#1327)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcoin-tools authored Aug 21, 2024
1 parent 5aff3b5 commit 313dbfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodebuilder
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,7 @@ esac
log_info 'Starting Bitcoin Core.'
if is_running_in_ci ||
is_running_in_container ||
[ -z "${DISPLAY}" ] ||
! command -v bitcoin-qt > /dev/null 2>&1; then
bitcoind --daemonwait > /dev/null
elif [ "${TARGET_KERNEL}" = 'Darwin' ]; then
Expand Down

0 comments on commit 313dbfb

Please sign in to comment.