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

- old
+ new

@@ -165,10 +165,10 @@ elsif run_command('ls /etc/debian_version')[:exit_status] == 0 'Debian' elsif run_command('ls /etc/gentoo-release')[:exit_status] == 0 'Gentoo' elsif run_command('uname -s')[:stdout] =~ /AIX/i - 'Aix' + 'AIX' elsif (os = run_command('uname -sr')[:stdout]) && os =~ /SunOS/i if os =~ /5.10/ 'Solaris10' elsif run_command('grep -q "Oracle Solaris 11" /etc/release')[:exit_status] == 0 'Solaris11'