lib/serverspec/backend/exec.rb in serverspec-0.9.4 vs lib/serverspec/backend/exec.rb in serverspec-0.9.5

- old
+ new

@@ -156,9 +156,10 @@ end true end def check_os + return RSpec.configuration.os if RSpec.configuration.os if run_command('ls /etc/redhat-release')[:exit_status] == 0 'RedHat' elsif run_command('ls /etc/system-release')[:exit_status] == 0 'RedHat' # Amazon Linux elsif run_command('ls /etc/debian_version')[:exit_status] == 0