From 3b90c0c121b9525a2a0cf6d24fb224c76283ad3d Mon Sep 17 00:00:00 2001 From: fsgqa Date: Fri, 10 May 2002 05:56:02 +0000 Subject: [PATCH] put the diff output in seq.full, where its more useful for debugging. --- 031 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/031 b/031 index 49b988ae..95f6f566 100755 --- a/031 +++ b/031 @@ -59,7 +59,11 @@ _check_repair() do echo "Repairing, iteration $i" | tee -a $seq.full xfs_repair $SCRATCH_DEV 2>&1 | tee -a $seq.full >$tmp.$i - diff $tmp.0 $tmp.$i + diff $tmp.0 $tmp.$i >> $seq.full + if [ $? -ne 0 ]; then + echo "ERROR: repair round $i differs (see $seq.full)" + break + fi # echo all interesting stuff... perl -ne ' s/(rebuilding directory inode) (\d+)/\1 INO/g; -- 2.30.2