From 9acb162c7fcf523e7438e11515a9040afb3812a1 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 16 May 2017 09:23:11 +0200 Subject: [PATCH] fix error exit code In case that the server could not start we should indicate the failure with a non-zero exit code. --- symfony/framework-bundle/3.3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/Makefile b/symfony/framework-bundle/3.3/Makefile index cfa867ed..cb20dea5 100644 --- a/symfony/framework-bundle/3.3/Makefile +++ b/symfony/framework-bundle/3.3/Makefile @@ -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"