Skip to content

Commit

Permalink
Merge pull request #289 from evans915/es/fix-bootstrapper-skip-logic
Browse files Browse the repository at this point in the history
bug: only skip bootstrap when we have certs
  • Loading branch information
maraino authored Oct 8, 2024
2 parents ad78271 + b73e0c1 commit 2e5e593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrapper/bootstrapper.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh


if [ -f "$STEP_ROOT" ];
if [ -f "$STEP_ROOT" ] && [ -f "$CRT" ] && [ -f "$KEY" ];
then
echo "Found existing $STEP_ROOT, skipping bootstrap"
echo "Found existing $STEP_ROOT, $CRT, and $KEY, skipping bootstrap"
exit 0
fi

Expand Down

0 comments on commit 2e5e593

Please sign in to comment.