diff --git a/src/ssh.fs b/src/ssh.fs index 202a80a..6d7d1de 100644 --- a/src/ssh.fs +++ b/src/ssh.fs @@ -49,7 +49,7 @@ let copyRealmToTemp (host: string option) (remoteDataPath: string) : Result try - let src = Path.Combine(remoteDataPath, "client.realm") + let src = Realm.findRealmPath remoteDataPath File.Copy(src, tempPath) Ok tempPath with ex ->