From e574a0b48ccf71fe17d124a0688f8e6c24ce6e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Mon, 14 Oct 2024 15:08:39 +0200 Subject: [PATCH] citest --- contrib/ci/distro.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/ci/distro.sh b/contrib/ci/distro.sh index defa83ec5fb..a8697096e73 100644 --- a/contrib/ci/distro.sh +++ b/contrib/ci/distro.sh @@ -55,7 +55,9 @@ function distro_pkg_install() [ $# != 0 ] && sudo -p "$prompt" \ /usr/bin/dnf --assumeyes --best \ --setopt=install_weak_deps=False \ - install "$@" + install "$@" || : + journalctl -xe --no-pager + exit 1 elif [[ "$DISTRO_BRANCH" == -redhat-* ]]; then [ $# != 0 ] && sudo -p "$prompt" yum --assumeyes install "$@" |& # Pass input to output, fail if a missing package is reported