From 83f225689582e7dd2b890eae7a8a6ebc3e928981 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 5 Jul 2023 22:27:06 +0800 Subject: [PATCH] extract-all: Distinguish missing and failure --- d | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/d b/d index 035606c..356f902 100755 --- a/d +++ b/d @@ -32,8 +32,12 @@ case "$CMD" in rm tmp/$peri/$f.err echo OK 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 - echo FAIL fi done ;;