Skip to content

Commit dfe6339

Browse files
committed
fix incorrect boolean check
1 parent c692fe7 commit dfe6339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Mach/Core/Messaging/MIG/MIGClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ extension Mach {
8888
{
8989
// The `noReply` case is not actually an error, just the absence of
9090
// a defined reply. We return early as if there was no error.
91-
if matchingMIGErrorCode != .noReply { return }
91+
if matchingMIGErrorCode == .noReply { return }
9292

9393
// Otherwise, we throw a MIG error.
9494
throw Mach.MIGError(matchingMIGErrorCode)

0 commit comments

Comments
 (0)