Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

serve restic: fix immediate exit when not using stdio

Nick Craig-Wood448fff9a0488
diff --git a/cmd/serve/restic/restic.go b/cmd/serve/restic/restic.go
index 0d4db85bd..0752d1ca5 100644
--- a/cmd/serve/restic/restic.go
+++ b/cmd/serve/restic/restic.go
@@ -173,6 +173,7 @@ with a path of ` + "`/<username>/`" + `.
httpSrv.ServeConn(conn, opts)
return nil
}
+ s.Wait()
return nil
})
},