mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
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
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:
parent
4aef405259
commit
e1574faa36
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue