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

This commit is contained in:
RandyTheSilly committed 2024-08-13 18:41:47 -04:00
1 parent 88b7a6be6d
commit 645bd964e6
3 files changed
+84 -40

No files matched your search

+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)