fix: xattr check in download quarantine
This commit is contained in:
parent
25ab4a2733
commit
f21af1e3eb
@ -33,7 +33,7 @@ module Cask
|
||||
def self.check_quarantine_support
|
||||
odebug "Checking quarantine support"
|
||||
|
||||
if !system_command(xattr, args: ["-h"], print_stderr: false).success?
|
||||
if xattr.nil? || !system_command(xattr, args: ["-h"], print_stderr: false).success?
|
||||
odebug "There's no working version of `xattr` on this system."
|
||||
:xattr_broken
|
||||
elsif swift.nil?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user