Whamcloud - gitweb
EX-5295 lipe: allow for missing changelog files
authorJohn L. Hammond <jhammond@whamcloud.com>
Mon, 23 May 2022 13:06:55 +0000 (08:06 -0500)
committerJohn L. Hammond <jhammond@whamcloud.com>
Tue, 24 May 2022 12:49:55 +0000 (12:49 +0000)
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 <jhammond@whamcloud.com>
Change-Id: Ic00a9bb591de22036936eecd76d08ec9649e4a9e
Reviewed-on: https://review.whamcloud.com/47429
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lipe/scripts/stratagem-hp-config.sh

index d55faef..66f0819 100755 (executable)
@@ -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