Cask: fix quarantine check when xattr is broken
This commit is contained in:
parent
662641557e
commit
1707caf968
@ -20,7 +20,7 @@ module Cask
|
|||||||
def check_quarantine_support
|
def check_quarantine_support
|
||||||
odebug "Checking 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."
|
odebug "There's not a working version of xattr."
|
||||||
:xattr_broken
|
:xattr_broken
|
||||||
elsif swift.nil?
|
elsif swift.nil?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user