summaryrefslogtreecommitdiff
path: root/local_script
diff options
context:
space:
mode:
Diffstat (limited to 'local_script')
-rwxr-xr-xlocal_script4
1 files changed, 2 insertions, 2 deletions
diff --git a/local_script b/local_script
index 3994e4f..e48ed99 100755
--- a/local_script
+++ b/local_script
@@ -1,3 +1,3 @@
#!/bin/bash
-ssh-keygen -f ~/.ssh/known_hosts -R $1
-ssh-keyscan -H $1 >> ~/.ssh/known_hosts
+ssh-keygen -f ~/.ssh/known_hosts -R $1 || true
+ssh-keyscan -H $1 >> ~/.ssh/known_hosts || true