Create and close sshClient instances in one-off sync functions (ShearRemoteFromClient, RenameRemoteFromClient, AddFolderRemoteFromClient)

This commit is contained in:
2024-08-13 18:41:47 -04:00
parent 88b7a6be6d
commit 645bd964e6
3 changed files with 84 additions and 40 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func GpgKeyGen() string {
}
// DirInit creates the libmutton directories.
// Returns: oldDeviceID (before from before the directory reset).
// Returns: oldDeviceID (from before the directory reset).
func DirInit(preserveOldConfigDir bool) string {
// create EntryRoot
err := os.MkdirAll(EntryRoot, 0700)