diff --git a/cmd/frostfs-cli/modules/container/delete.go b/cmd/frostfs-cli/modules/container/delete.go index 52ee5d4fba..308c7b9425 100644 --- a/cmd/frostfs-cli/modules/container/delete.go +++ b/cmd/frostfs-cli/modules/container/delete.go @@ -77,8 +77,8 @@ Only owner of the container has a permission to remove container.`, if len(res.IDList()) != 0 { commonCmd.ExitOnErr(cmd, "", - fmt.Errorf("Container wasn't removed because LOCK objects were found.\n"+ - "Use --%s flag to remove anyway.", commonflags.ForceFlag)) + fmt.Errorf("container wasn't removed because LOCK objects were found, "+ + "use --%s flag to remove anyway", commonflags.ForceFlag)) } } }