Skip to content

Commit 427c955

Browse files
committed
ensure .ssh directory exists
1 parent e101a68 commit 427c955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ then
2727

2828
eval "$(ssh-agent -s)"
2929

30-
mkdir ~/.ssh
30+
[[ ! -d ~/.ssh ]] && mkdir ~/.ssh
3131

3232
ssh-keyscan github.com >> ~/.ssh/known_hosts
3333

0 commit comments

Comments
 (0)