watchmanmonitoring/JAMF-Watchman-ExtensionAttribute — pull request #11 by luisgiraldo (2014-12-01 06:47:51+00:00)
Title: Fix evaluation of command outputs

Bash doesn't know boolean variables, nor does test (which is what gets called when you use [ ]). This edit returns values that can be properly evaluated.