diff --git a/Scripts/check-drive-space.ps1 b/Scripts/check-drive-space.ps1 index 450a8780..ee0a8216 100755 --- a/Scripts/check-drive-space.ps1 +++ b/Scripts/check-drive-space.ps1 @@ -30,7 +30,7 @@ try { write-warning "Drive $Drive has only $Free GB left to use! ($Used of $Total GB used, minimum is $MinLevel GB)" exit 1 } - "✔️ $Free GB left on drive $Drive ($Used of $Total GB used)" + "✔️ Drive $Drive has $Free GB left ($Used of $Total GB used)" exit 0 # success } catch { "⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))" diff --git a/Scripts/check-swap-space.ps1 b/Scripts/check-swap-space.ps1 index a4d41790..ebdbd1ff 100755 --- a/Scripts/check-swap-space.ps1 +++ b/Scripts/check-swap-space.ps1 @@ -39,7 +39,7 @@ try { write-warning "Swap space has only $Free GB left to use! ($Used of $Total GB used, minimum is $MinLevel GB)" exit 1 } - "✔️ $Free GB left for swap space ($Used of $Total GB used)" + "✔️ Swap space has $Free GB left ($Used of $Total GB used)" exit 0 # success } catch { "⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"