mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix smartctl retry of probe with -d sat in Windows avoiding to spin up disks
Some checks failed
Some checks failed
This commit is contained in:
parent
c837a9ace0
commit
65ad555779
1 changed files with 1 additions and 1 deletions
|
|
@ -2834,7 +2834,7 @@ retry:
|
|||
*/
|
||||
if (ret == 2) {
|
||||
/* retry using the "sat" type */
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" -a -d sat %s", exedir, file);
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" -n standby,3 -a -d sat %s", exedir, file);
|
||||
|
||||
++count;
|
||||
goto retry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue