Skip to content

Commit 11bd171

Browse files
committed
bug #67 fix error exit code (xabbuh)
This PR was merged into the master branch. Discussion ---------- fix error exit code In case that the server could not start we should indicate the failure with a non-zero exit code. This addresses @stof's comment in #54 (comment). Commits ------- 9acb162 fix error exit code
2 parents bed08a2 + 9acb162 commit 11bd171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/framework-bundle/3.3/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sf_console:
1313

1414
serve_as_sf: sf_console
1515
@test -f $(CONSOLE) && $(CONSOLE)|grep server:start > /dev/null || ${MAKE} serve_as_php
16-
@$(CONSOLE) server:start || exit 0
16+
@$(CONSOLE) server:start || exit 1
1717

1818
@printf "Quit the server with \033[32;49mbin/console server:stop.\033[39m\n"
1919

0 commit comments

Comments
 (0)