Skip to content

Commit

Permalink
Add directory existence check
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Aug 16, 2017
1 parent f588b56 commit 7c83a2f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,5 +243,6 @@ setup() {
sudo rm -rf /var/run/elasticsearch
systemctl start elasticsearch.service
wait_for_elasticsearch_status
[ -d /var/run/elasticsearch ]
systemctl stop elasticsearch.service
}

0 comments on commit 7c83a2f

Please sign in to comment.