Skip to content

Commit 33a42c2

Browse files
committed
Fix typo
1 parent 08c8d62 commit 33a42c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/check-drives.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ try {
3838
Write-Progress -completed "."
3939
foreach($Drive in $Drives) {
4040
$Details = (Get-PSDrive $Drive.Name)
41-
if ($IsLinx) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
41+
if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
4242
[int64]$Free = $Details.Free
4343
[int64]$Used = $Details.Used
4444
[int64]$Total = ($Used + $Free)
@@ -58,4 +58,4 @@ try {
5858
} catch {
5959
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
6060
exit 1
61-
}
61+
}

0 commit comments

Comments
 (0)