fix error exit code

In case that the server could not start we should indicate the failure
with a non-zero exit code.
This commit is contained in:
Christian Flothmann
2017-05-16 09:23:11 +02:00
parent bed08a2c1a
commit 9acb162c7f
+1 -1
View File
@@ -13,7 +13,7 @@ sf_console:
serve_as_sf: sf_console
@test -f $(CONSOLE) && $(CONSOLE)|grep server:start > /dev/null || ${MAKE} serve_as_php
@$(CONSOLE) server:start || exit 0
@$(CONSOLE) server:start || exit 1
@printf "Quit the server with \033[32;49mbin/console server:stop.\033[39m\n"