aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_cmds_basic.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-11-04 15:43:37 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-11-04 15:43:37 +0000
commit20f3fcb175b72c06464965a4bce7d0a5eaef47b9 (patch)
tree8c41fd7b2b61e624620c3eb377c54c073a02cc99 /lib/sg_cmds_basic.c
parent44e90986b1aea4296ba69198130fd37a9ffca082 (diff)
downloadsg3_utils-20f3fcb175b72c06464965a4bce7d0a5eaef47b9.tar.gz
add two new exit status values: SG_LIB_CAT_STANDBY and SG_LIB_CAT_UNAVAILABLE which refine the 'not ready' exit status
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@980 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_cmds_basic.c')
-rw-r--r--lib/sg_cmds_basic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sg_cmds_basic.c b/lib/sg_cmds_basic.c
index 4dffe1ce..01ca55c1 100644
--- a/lib/sg_cmds_basic.c
+++ b/lib/sg_cmds_basic.c
@@ -126,6 +126,8 @@ sg_cmds_process_helper(const char * leadin, int req_din_x, int act_din_x,
case SG_LIB_CAT_PROTECTION:
case SG_LIB_CAT_NO_SENSE:
case SG_LIB_CAT_MISCOMPARE:
+ case SG_LIB_CAT_STANDBY:
+ case SG_LIB_CAT_UNAVAILABLE:
n = false;
break;
case SG_LIB_CAT_RECOVERED: