Skip to content

Commit 7abeeef

Browse files
authored
fix a typo preventing freebsd to build (#1231)
1 parent b72fb0f commit 7abeeef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationEssentials/FileManager/FileOperations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ enum _FileOperations {
971971
// The list of entry returns by `extattr_list_*` contains the length(1 byte) of the attribute name, follow by the Non-NULL terminated attribute name. (See exattr(2))
972972
size = extattr_list_fd(srcFD, namespace, keyList.baseAddress!, size)
973973

974-
guard size > 0 else { continue }
974+
guard size > 0 else { return }
975975

976976
var keyLength = Int(keyList.baseAddress!.pointee)
977977
var current = keyList.baseAddress!.advanced(by: 1)

0 commit comments

Comments
 (0)