minor - makes ACLK build fail more prominent (#8470)
Timo committed
Mar 25, 2020 at 11:42 UTC
69a61fcd45166e640b0d1870ff3189e5cba49df5
1 file changed
+8
-4
netdata-installer.sh
+8
-4
@@ -48,6 +48,10 @@ defer_error() {
48
NETDATA_DEFERRED_ERRORS="${NETDATA_DEFERRED_ERRORS}\n* ${1}"
49
}
50
51
+defer_error_highlighted() {
52
+ NETDATA_DEFERRED_ERRORS="${TPUT_YELLOW}${TPUT_BOLD}${NETDATA_DEFERRED_ERRORS}\n* ${1}${TPUT_RESET}"
53
+}
54
+
55
print_deferred_errors() {
56
if [ -n "${NETDATA_DEFERRED_ERRORS}" ] ; then
57
echo >&2
@@ -503,11 +507,11 @@ bundle_libmosquitto() {
507
run_ok "libmosquitto built and prepared."
508
else
509
run_failed "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
506
- defer_error "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
510
+ defer_error_highlighted "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
511
fi
512
else
513
run_failed "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
510
- defer_error "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
514
+ defer_error_highlighted "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
515
fi
516
}
517
@@ -557,11 +561,11 @@ bundle_libwebsockets() {
561
run_ok "libwebsockets built and prepared."
562
else
563
run_failed "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
560
- defer_error "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
564
+ defer_error_highlighted "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
565
fi
566
else
567
run_failed "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
564
- defer_error "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
568
+ defer_error_highlighted "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
569
fi
570
}
571