Skip to content

Commit ffece6e

Browse files
authored
Merge pull request #27 from gui-dos/main
Fix `checkQuarantineRemoved`
2 parents d1b57b6 + 6408344 commit ffece6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sentinel/Utilities/CmdDrops.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func CmdRunDrop(cmd: String, path: String, type: cmdType, sudo: Bool = false, ap
123123

124124
func checkQuarantineRemoved(path: String) async -> Bool {
125125
let out = runShCommand("xattr -p com.apple.quarantine '\(path)'")
126-
return !out.standardOutput.contains("com.apple.quarantine")
126+
return out.standardOutput.isEmpty
127127
}
128128

129129
func checkAppSigned(path: String) async -> Bool {

0 commit comments

Comments
 (0)