Merge pull request #5087 from amyspark/xattr-fail

Cask: fix quarantine check when xattr is broken
This commit is contained in:
Markus Reiter 2018-10-13 23:52:41 +02:00 committed by GitHub
commit 9b84b2404a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ module Cask
def check_quarantine_support
odebug "Checking quarantine support"
if !system_command!(xattr).success?
if !system_command(xattr, print_stderr: false).success?
odebug "There's not a working version of xattr."
:xattr_broken
elsif swift.nil?