silent grep stderr. closes #862
This commit is contained in:
1 parent
bc072e1db3
commit
343ee24c46
1 file changed
+1
-1
@@ -39,7 +39,7 @@ endif
|
|||||||
@echo "-----> Intitial SSH connection to populate known_hosts..."
|
@echo "-----> Intitial SSH connection to populate known_hosts..."
|
||||||
ssh -o StrictHostKeyChecking=no dokku@dokku.me help > /dev/null
|
ssh -o StrictHostKeyChecking=no dokku@dokku.me help > /dev/null
|
||||||
|
|
||||||
ifeq ($(shell grep dokku.me /home/dokku/VHOST),)
|
ifeq ($(shell grep dokku.me /home/dokku/VHOST 2>/dev/null),)
|
||||||
@echo "-----> Setting default VHOST to dokku.me..."
|
@echo "-----> Setting default VHOST to dokku.me..."
|
||||||
echo "dokku.me" > /home/dokku/VHOST
|
echo "dokku.me" > /home/dokku/VHOST
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user