serverspec/serverspec — pull request #193 by ftnk (2013-07-03 06:22:33+00:00)
Title: fix SmartOS detection

I've fixed SmartOS detection.

"run_command('grep -q SmartOS /etc/release') " returns array
and Solaris 11 is detected as SmartOS.

To avoid this problem, I've added exit status check.