Server stdin migration: fetch

This commit is contained in:
2024-06-04 15:38:46 -04:00
parent 18a8668acf
commit d6ee612c68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func main() {
switch args[1] {
case "fetch":
// print all information needed for syncing to stdout for interpretation by the client
sync.GetRemoteDataFromServer(args[2])
sync.GetRemoteDataFromServer(stdin[0])
case "shear":
// shear an entry from the server and add it to the deletions directory
deviceIDTargetLocation := strings.Split(args[2], "\x1d")