Cask: fix quarantine check when xattr is broken

This commit is contained in:
L. E. Segovia 2018-10-13 01:27:36 +00:00
parent 662641557e
commit 1707caf968
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5

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?