mirror of
https://github.com/rclone/rclone.git
synced 2025-01-03 12:59:32 +01:00
serve restic: fix immediate exit when not using stdio
In the lib/http refactor
52443c2444
restic: refactor to use lib/http
We forgot to serve the data and wait for the server to finish. This is
not tested in the unit tests as it is part of the command line
handler.
Fixes #6644 Fixes #6647
This commit is contained in:
parent
6257a6035c
commit
448fff9a04
@ -173,6 +173,7 @@ with a path of ` + "`/<username>/`" + `.
|
||||
httpSrv.ServeConn(conn, opts)
|
||||
return nil
|
||||
}
|
||||
s.Wait()
|
||||
return nil
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user