We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2483dc0 commit 1b0fedeCopy full SHA for 1b0fede
1 file changed
hack/run-with-prometheus.sh
@@ -49,7 +49,7 @@ set -o errexit
49
50
cd "$(dirname $0)/.."
51
52
-PROMETHEUS="$(UGET_PRINT_PATH=absolute make --no-print-directory prometheus)"
+PROMETHEUS="$(UGET_PRINT_PATH=absolute make --no-print-directory prometheus | tail -n 1)"
53
54
if [ ! -x "${PROMETHEUS}" ]; then
55
echo "prometheus binary not found at ${PROMETHEUS}" >&2
0 commit comments