extract-all: Distinguish missing and failure

This commit is contained in:
Matt Johnston 2023-07-05 22:27:06 +08:00
parent 1f5e313874
commit 83f2256895

6
d
View File

@ -32,8 +32,12 @@ case "$CMD" in
rm tmp/$peri/$f.err rm tmp/$peri/$f.err
echo OK echo OK
else else
if grep -q 'peripheral not found' tmp/$peri/$f.err; then
echo No Peripheral
else
echo OTHER FAILURE
fi
rm tmp/$peri/$f.yaml rm tmp/$peri/$f.yaml
echo FAIL
fi fi
done done
;; ;;