From 2422809beba458a46183fdf16e506bed2b0fcf6c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 17 Jun 2025 22:05:42 +0100 Subject: [PATCH] change --- lgsm/modules/update_mcb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/update_mcb.sh b/lgsm/modules/update_mcb.sh index 37f8af9cf..a8616c3b8 100644 --- a/lgsm/modules/update_mcb.sh +++ b/lgsm/modules/update_mcb.sh @@ -38,7 +38,7 @@ fn_update_localbuild() { # Gets local build info. fn_print_dots "Checking local build: ${remotelocation}" # Uses log file to get local build. - localbuild=$(grep -hoP 'Version:\s*\K[\d.]+' "${consolelogdir}"/* | sort -V -r | head -n1) + localbuild=$(grep -hoP 'Version:\s*\K[\d.]+' "${consolelogdir}"/* 2> /dev/null | sort -V -r | head -n1) if [ -z "${localbuild}" ]; then fn_print_error "Checking local build: ${remotelocation}: missing local build info" fn_script_log_error "Missing local build info"