From a9604fbd7999cd72b8c16cff1f146c47ef4d08fb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 11 Oct 2022 19:20:23 +0200 Subject: [PATCH] Fix wrong '$DevInfo++' - many thanks to OlegBoul --- Scripts/query-smart-data.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/query-smart-data.ps1 b/Scripts/query-smart-data.ps1 index fd361e02..a0b4612f 100755 --- a/Scripts/query-smart-data.ps1 +++ b/Scripts/query-smart-data.ps1 @@ -51,7 +51,7 @@ try { $Cmd = "smartctl --all --json " + $Device Invoke-Expression $Cmd > $Filename - $DevInfo++ + $DevNo++ } "✔️ Done."