Server stdin migration: fetch

This commit is contained in:
2024-06-04 15:38:46 -04:00
parent da5a435ed6
commit bdbf2af091
+1 -1
View File
@@ -141,7 +141,7 @@ func getRemoteDataFromClient(manualSync bool) (map[string]int64, []string, []str
os.Exit(0) // exit silently if the sync job was called automatically, as the user may just be in offline mode
}
}
output := GetSSHOutput("libmuttonserver fetch "+clientDeviceID[0].Name(), "", manualSync)
output := GetSSHOutput("libmuttonserver fetch", clientDeviceID[0].Name(), manualSync)
// split output into slice based on occurrences of "\x1d"
outputSlice := strings.Split(output, "\x1d")