diff --git a/Scripts/check-health.ps1 b/Scripts/check-health.ps1 index 62708dbf..74841d7c 100755 --- a/Scripts/check-health.ps1 +++ b/Scripts/check-health.ps1 @@ -10,24 +10,24 @@ $Hostname = $(hostname) $Healthy = 1 "Checking health of $Hostname ..." -& check-swap-space.ps1 +& ./check-swap-space.ps1 if ($lastExitCode -ne "0") { $Healthy = 0 } if ($IsLinux) { - & check-drive-space.ps1 / + & ./check-drive-space.ps1 / if ($lastExitCode -ne "0") { $Healthy = 0 } } else { - & check-drive-space.ps1 C + & ./check-drive-space.ps1 C if ($lastExitCode -ne "0") { $Healthy = 0 } } -& check-cpu-temp.ps1 +& ./check-cpu-temp.ps1 if ($lastExitCode -ne "0") { $Healthy = 0 } -& check-dns-resolution.ps1 +& ./check-dns-resolution.ps1 if ($lastExitCode -ne "0") { $Healthy = 0 } -& check-ping.ps1 +& ./check-ping.ps1 if ($lastExitCode -ne "0") { $Healthy = 0 } if ($Healthy) {