Skip to content
Snippets Groups Projects
Unverified Commit 4c47a4b7 authored by L. E. Segovia's avatar L. E. Segovia
Browse files

quarantine: do not automatically follow symlinks

This prevents failure when Casks have broken framework symlinks.
parent 47d3bbee
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ module Hbc
quarantine_status = status(from, command: command)
quarantiner = command.run("/usr/bin/xattr",
args: ["-w", "-r", QUARANTINE_ATTRIBUTE, quarantine_status, to],
args: ["-w", "-rs", QUARANTINE_ATTRIBUTE, quarantine_status, to],
print_stderr: false)
return if quarantiner.success?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment