serverspec 0.6.19 → 0.6.20
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serverspec/backend/exec.rb +1 -1
- data/lib/serverspec/version.rb +1 -1
- metadata +1 -1
@@ -200,7 +200,7 @@ module Serverspec
|
|
200
200
|
elsif (os = run_command('uname -sr')[:stdout]) && os =~ /SunOS/i
|
201
201
|
if os =~ /5.10/
|
202
202
|
'Solaris10'
|
203
|
-
elsif run_command('grep -q SmartOS /etc/release')
|
203
|
+
elsif run_command('grep -q SmartOS /etc/release')[:exit_status] == 0
|
204
204
|
'SmartOS'
|
205
205
|
else
|
206
206
|
'Solaris'
|
data/lib/serverspec/version.rb
CHANGED