From 3cc1b42160269f81a2d76cf8d78209c76b0ad56a Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Sun, 26 Jun 2016 21:06:42 +0200 Subject: [PATCH] Fix has_dokku_remote `git remote show ` seems to really check if the remote is a git repo whereas we just want to know if a remote named "dokku" is present --- contrib/dokku_client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 568b9e597..1c71c8934 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -38,7 +38,7 @@ is_git_repo() { } has_dokku_remote() { - git remote show dokku &>/dev/null + git remote show | grep dokku } if [[ -z $DOKKU_HOST ]]; then