From b870214ccaeb981ccb128caa42c78ad9b2038e55 Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Thu, 10 Jan 2013 18:29:36 -0800 Subject: [PATCH] Fixes CB-2204: if bin/create fails, exit with code 1 --- bin/create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/create b/bin/create index d1380cbe..c92acb45 100755 --- a/bin/create +++ b/bin/create @@ -69,7 +69,7 @@ function on_error { echo "An unexpected error occurred: $previous_command exited with $?" echo "Deleting project..." [ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH" - exit "$?" + exit 1 } function replace {