mirror of
https://github.com/restic/restic.git
synced 2026-10-11 20:47:12 +00:00
server: Rename CreateMasterKey() to Init()
This commit is contained in:
1 parent
ae1a85c896
commit
35af933f24
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -74,7 +74,7 @@ func (cmd CmdInit) Execute(args []string) error {
|
||||
}
|
||||
|
||||
s := server.NewServer(be)
|
||||
err = s.CreateMasterKey(pw)
|
||||
err = s.Init(pw)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "creating key in backend at %s failed: %v\n", opts.Repo, err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in new issue
Block a user