Error exits with 1, otherwise 0

Signed-off-by: Karl Isenberg <kisenberg@pivotallabs.com>