diff --git a/Scripts/check-drives.ps1 b/Scripts/check-drives.ps1 index 29077a36..60365bf6 100755 --- a/Scripts/check-drives.ps1 +++ b/Scripts/check-drives.ps1 @@ -38,7 +38,7 @@ try { Write-Progress -completed "." foreach($Drive in $Drives) { $Details = (Get-PSDrive $Drive.Name) - if ($IsLinx) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" } + if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" } [int64]$Free = $Details.Free [int64]$Used = $Details.Used [int64]$Total = ($Used + $Free) @@ -58,4 +58,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +}