summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f8c169f15..222d4ffe4 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ build:
install:
@go get $(GOFLAGS) github.com/tools/godep
- @if [ $(shell docker ps | grep -ci mattermost-mysql) -eq 0 ]; then \
+ @if [ $(shell docker ps -a | grep -ci mattermost-mysql) -eq 0 ]; then \
echo starting mattermost-mysql; \
docker run --name mattermost-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mostest \
-e MYSQL_USER=mmuser -e MYSQL_PASSWORD=mostest -e MYSQL_DATABASE=mattermost_test -d mysql > /dev/null; \