summaryrefslogtreecommitdiffstats
path: root/sftp-mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-mount.sh')
-rwxr-xr-xsftp-mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-mount.sh b/sftp-mount.sh
index 9418146..75e8928 100755
--- a/sftp-mount.sh
+++ b/sftp-mount.sh
@@ -7,7 +7,7 @@ for i in "$@"; do
if ! mountpoint -q $mnt; then
mkdir -p $mnt
- sshfs web-$i@karif: $mnt
+ sshfs -o reconnect,kernel_cache web-$i@karif: $mnt
else
fusermount -u $mnt
rmdir $mnt