Skip to content

Commit 715ceb6

Browse files
authored
Merge pull request #150 from cloud-gov/update-copy-script
update cp command to use -u flag
2 parents 16d31af + 5ba570f commit 715ceb6

File tree

1 file changed

+1
-1
lines changed
  • jobs/elasticsearch-platform/templates/bin

1 file changed

+1
-1
lines changed

jobs/elasticsearch-platform/templates/bin/pre-start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ fi
3636

3737
<% if p("elasticsearch.migrate_data") %>
3838
if [[ -d /var/vcap/store/elasticsearch ]]; then
39-
cp -pR /var/vcap/store/elasticsearch/nodes /var/vcap/store/elasticsearch-platform
39+
cp -pRu /var/vcap/store/elasticsearch/nodes /var/vcap/store/elasticsearch-platform
4040
fi
4141
<% end %>

0 commit comments

Comments
 (0)