From acaa9381fe58a85a49dbd0875f48242aac1d07d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Vince?= Date: Fri, 16 Jan 2026 21:30:52 +0100 Subject: [PATCH] fix: update smartctlArgs call to use hasExistingData flag (#1645) --- agent/smart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/smart.go b/agent/smart.go index 3989d6ac..bc133632 100644 --- a/agent/smart.go +++ b/agent/smart.go @@ -435,7 +435,7 @@ func (sm *SmartManager) CollectSmart(deviceInfo *DeviceInfo) error { defer cancel() // Try with -n standby first if we have existing data - args := sm.smartctlArgs(deviceInfo, true) + args := sm.smartctlArgs(deviceInfo, hasExistingData) cmd := exec.CommandContext(ctx, sm.binPath, args...) output, err := cmd.CombinedOutput()