Skip self-test on status, locate, read, and test-rewrite commands
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2026-08-26 22:52:46 +02:00
parent 4aef405259
commit e1574faa36

View file

@ -1327,6 +1327,9 @@ int snapraid_main(int argc, char* argv[])
case OPERATION_LIST :
case OPERATION_DUP :
case OPERATION_POOL :
case OPERATION_STATUS :
case OPERATION_REWRITE :
case OPERATION_READ :
case OPERATION_TOUCH :
case OPERATION_SPINUP :
case OPERATION_SPINDOWN :
@ -1334,6 +1337,7 @@ int snapraid_main(int argc, char* argv[])
case OPERATION_DEVICES :
case OPERATION_SMART :
case OPERATION_PROBE :
case OPERATION_LOCATE :
opt.skip_self = 1;
break;
}