Skip to content

Commit 2e5e593

Browse files
authored
Merge pull request #289 from evans915/es/fix-bootstrapper-skip-logic
bug: only skip bootstrap when we have certs
2 parents ad78271 + b73e0c1 commit 2e5e593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrapper/bootstrapper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

33

4-
if [ -f "$STEP_ROOT" ];
4+
if [ -f "$STEP_ROOT" ] && [ -f "$CRT" ] && [ -f "$KEY" ];
55
then
6-
echo "Found existing $STEP_ROOT, skipping bootstrap"
6+
echo "Found existing $STEP_ROOT, $CRT, and $KEY, skipping bootstrap"
77
exit 0
88
fi
99

0 commit comments

Comments
 (0)