changeset 572:687d458b27f3

farray.sh: mark valid low-level error messages as such
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 13 Sep 2024 23:05:01 +0200
parents a6cebc41a659
children 060e2eb8e4f6
files share/local-bsdtools/farray.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/share/local-bsdtools/farray.sh	Fri Sep 13 23:04:17 2024 +0200
+++ b/share/local-bsdtools/farray.sh	Fri Sep 13 23:05:01 2024 +0200
@@ -1625,8 +1625,11 @@
     fi
     if farray_destroy TEST; then
         echo "DESTROY succeeded (ERROR)"
+    else
+        echo "(this is ok)"
     fi
     farray_destroy TEST || true
+    echo "(this is ok)"
 
     # shellcheck disable=SC1003
     farray_create CMD zfs list "-H" "-o" "name,canmount,mounted,mountpoint,origin" "zpool/ROOT/test- YYY" "'" '\' 'abc'\''d\tef'
@@ -1716,6 +1719,8 @@
     fi
     if falist_destroy LIST ; then
         echo "DESTROY SUCCEEDED (ERROR)"
+    else
+        echo "(this is ok)"
     fi
 
     # Deletion of keys