summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init b/src/init
index 0c5b890..0266584 100755
--- a/src/init
+++ b/src/init
@@ -46,7 +46,7 @@ function setupUser
end
# Copy/Overwrite ssh key
- mkdir "$HOME/.ssh"
+ mkdir -p "$HOME/.ssh"
echo "$key" > "$HOME/.ssh/authorized_keys"
chown -R $user "$HOME"
chmod -R 700 "$HOME"