Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #37 from jnury/issue#32
Browse files Browse the repository at this point in the history
Fix proposal for issue #32
  • Loading branch information
rpsqrd committed Feb 14, 2018
2 parents c8078d2 + 2a4c4e2 commit fb8c3db
Showing 1 changed file with 6 additions and 3 deletions.
Expand Up @@ -185,10 +185,13 @@ class JeaEndpoint
return $false
}

if($currentInstance.GroupManagedServiceAccount -ne ($this.GroupManagedServiceAccount -replace '\$$', ''))
if($currentInstance.GroupManagedServiceAccount -or $this.GroupManagedServiceAccount)
{
Write-Verbose "GroupManagedServiceAccount not equal: $($currentInstance.GroupManagedServiceAccount)"
return $false
if($currentInstance.GroupManagedServiceAccount -ne ($this.GroupManagedServiceAccount -replace '\$$', ''))
{
Write-Verbose "GroupManagedServiceAccount not equal: $($currentInstance.GroupManagedServiceAccount)"
return $false
}
}

if($currentInstance.TranscriptDirectory -ne $this.TranscriptDirectory)
Expand Down

0 comments on commit fb8c3db

Please sign in to comment.