From 5a1006452ba094fcfa046cd6db8a49ec8152a0b1 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 7 Nov 2017 17:45:07 +0100 Subject: [PATCH] Fix typos --- lib/ansible/modules/windows/win_defrag.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/windows/win_defrag.ps1 b/lib/ansible/modules/windows/win_defrag.ps1 index 56607015a5..e8df46b044 100644 --- a/lib/ansible/modules/windows/win_defrag.ps1 +++ b/lib/ansible/modules/windows/win_defrag.ps1 @@ -69,7 +69,7 @@ $arguments = "" if ($include_volumes) { foreach ($volume in $include_volumes) { - if ($volume.Length == 1) { + if ($volume.Length -eq 1) { $arguments += " $($volume):" } else { $arguments += " $volume" @@ -82,7 +82,7 @@ if ($include_volumes) { if ($exclude_volumes) { $arguments += " /E" foreach ($volume in $exclude_volumes) { - if ($volume.Length == 1) { + if ($volume.Length -eq 1) { $arguments += " $($volume):" } else { $arguments += " $volume"