From 65ad555779c3f5b4084a01760a2d0a61503bc64d Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 15 Jun 2026 11:51:02 +0200 Subject: [PATCH] Fix smartctl retry of probe with -d sat in Windows avoiding to spin up disks --- cmdline/mingw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/mingw.c b/cmdline/mingw.c index f9b03b22..ccae49c7 100644 --- a/cmdline/mingw.c +++ b/cmdline/mingw.c @@ -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;