renamed profile var

reviewable/pr18780/r1
Timothy Vandenbrande 10 years ago
parent 97d8273558
commit d87da2ba2d

@ -225,13 +225,13 @@ foreach ($arg in $args){
}; };
}; };
$profile=Get-Attr $params "profile" "current"; $winprofile=Get-Attr $params "profile" "current";
if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) { if (($winprofile -ne 'current') -or ($winprofile -ne 'domain') -or ($winprofile -ne 'standard') -or ($winprofile -ne 'all') ) {
$misArg+="Profile"; $misArg+="Profile";
$msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed"); $msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed");
} else { } else {
$fwsettings.Add("profile", $profile) $fwsettings.Add("profile", $winprofile)
} }
if ($($($misArg|measure).count) -gt 0){ if ($($($misArg|measure).count) -gt 0){

Loading…
Cancel
Save