diff --git a/cmd/neofs-cli/modules/util.go b/cmd/neofs-cli/modules/util.go index 48a387aa6c..9c2f95c25a 100644 --- a/cmd/neofs-cli/modules/util.go +++ b/cmd/neofs-cli/modules/util.go @@ -159,7 +159,7 @@ var ( Run: func(cmd *cobra.Command, _ []string) { targetDB := locodebolt.New(locodebolt.Prm{ Path: locodeInfoDBPath, - }) + }, locodebolt.ReadOnly()) err := targetDB.Open() exitOnErr(cmd, err)