Skip to content

Commit

Permalink
Merge pull request #11 from Co0sh/existing-dir-fix
Browse files Browse the repository at this point in the history
Fix error caused by existing .ssh directory
  • Loading branch information
maddox committed May 19, 2019
2 parents 377a1e9 + c4cccb5 commit 5bc0359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

SSH_PATH="$HOME/.ssh"

mkdir "$SSH_PATH"
mkdir -p "$SSH_PATH"
touch "$SSH_PATH/known_hosts"

echo "$PRIVATE_KEY" > "$SSH_PATH/deploy_key"
Expand Down

0 comments on commit 5bc0359

Please sign in to comment.