lib/specinfra/helper/detect_os/arch.rb in specinfra-2.5.0 vs lib/specinfra/helper/detect_os/arch.rb in specinfra-2.6.0

- old
+ new

@@ -1,7 +1,7 @@ class Specinfra::Helper::DetectOs::Arch < Specinfra::Helper::DetectOs def self.detect - if File.exist?('/etc/arch-release') + if run_command('ls /etc/arch-release').success? { :family => 'arch', :release => nil } end end end