From ecfc2f6734e0d22adb7203d7bbfb3f5d60af7a29 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Mon, 23 May 2022 08:06:55 -0500 Subject: [PATCH] EX-5295 lipe: allow for missing changelog files In lipe/scripts/stratagem-hp-config.sh, suppress errors from a missing .chlg file. Fixes: af041fccc1 ("EX-4973 lipe: remove changelog user registration from config") Test-Parameters: trivial Signed-off-by: John L. Hammond Change-Id: Ic00a9bb591de22036936eecd76d08ec9649e4a9e Reviewed-on: https://review.whamcloud.com/47429 Tested-by: jenkins Tested-by: Maloo --- lipe/scripts/stratagem-hp-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lipe/scripts/stratagem-hp-config.sh b/lipe/scripts/stratagem-hp-config.sh index d55faef..66f0819 100755 --- a/lipe/scripts/stratagem-hp-config.sh +++ b/lipe/scripts/stratagem-hp-config.sh @@ -294,7 +294,7 @@ for INDEX in $MDTLIST; do fi if [[ -z "$CL" ]]; then - CL=$(ssh $MDSHOST cat /var/lib/lamigo-$MDT.chlg) + CL=$(ssh $MDSHOST cat /var/lib/lamigo-$MDT.chlg || true) fi if [[ -n "$CL" ]]; then -- 1.8.3.1