Skip to content
Snippets Groups Projects
Commit 4dc42334 authored by nimrod's avatar nimrod
Browse files

Handle case when passed filename doesn't exist.

parent e13eb49b
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ unbundle_cert () {
bundle_certs () {
for filename in "$@"
do
unbundle_cert "$filename"
[ -f "$filename" ] && unbundle_cert "$filename"
done
cd certs
issuer="$(find_root_cert *)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment