Skip to content

Commit 9854622

Browse files
authored
Update SystemTester.ps1
1 parent 09b3f9b commit 9854622

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

SystemTester.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ function Test-Trim {
523523
if ($_ -match "ReFS DisableDeleteNotify\s*=\s*(\d)") { $map["ReFS"] = $matches[1] }
524524
}
525525
$txt = $map.GetEnumerator() | ForEach-Object {
526-
"{0}: {1}" -f $_.Key, (if ($_.Value -eq "0") {"Enabled"} else {"Disabled"})
526+
$status = if ($_.Value -eq "0") { "Enabled" } else { "Disabled" }
527+
"{0}: {1}" -f $_.Key, $status
527528
}
528529
if (-not $txt) { $txt = @("TRIM status not reported") }
529530
$script:TestResults += @{

0 commit comments

Comments
 (0)