silent grep stderr. closes #862

This commit is contained in:
Michael Hobbs committed 2015-01-05 13:13:43 -08:00
1 parent bc072e1db3
commit 343ee24c46
1 file changed
+1 -1
+1 -1
View File
@@ -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