Merge pull request #217 from mkj/extract

extract-all: Distinguish missing and failure
This commit is contained in:
Dario Nieuwenhuis 2023-07-05 15:04:11 +00:00 committed by GitHub
commit 931ab215e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
;; ;;