From 64a65031b8c7f2a3dfdf1bca61ac093ffbf0d5ed Mon Sep 17 00:00:00 2001 From: nevaforget Date: Sun, 26 Apr 2026 10:37:19 +0200 Subject: [PATCH] feat: mount remote home dir by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Less surprising than mounting / — users typically want their own files, and accessing system paths still works via absolute paths. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 739bd62..599a92d 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func mount_sshfs(hostname string, user string, ifile string, port string, mount "-o", "reconnect", "-o", "ServerAliveInterval=15", "-o", "ServerAliveCountMax=3", - user+"@"+hostname+":/", mount) + user+"@"+hostname+":", mount) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr return cmd.Run()