Skip to content

certificates: check for contents before rm of certs

Jason Plum requested to merge charts-1534/check-before-rm into master

Check that there are any contents within /etc/ssl/certs prior to the rm -r call. This removes a spurious, known warning that the directory is empty, and there is nothing to remove.

Relates to gitlab-org/charts/gitlab#1534

cc @jarv @skarbek

Merge request reports