bjeanes/ghost — pull request #32 by turadg (2012-08-28 00:34:57+00:00)
Title: Pass dscl create errors up to the ghost user

Currently when the `create` command fails, the `add()` function simply returns nil and the user never sees the error. They just get a confusing `undefined method "name" error` exception as in issue #28.

This patch raises an error with the `dscl` output as its message.