From: Xiangdong Mu Date: Wed, 16 Oct 2019 06:27:21 +0000 (+0800) Subject: rbd:delete redundant words when trash restore failed because of same name X-Git-Tag: v15.1.0~1238^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30952%2Fhead;p=ceph.git rbd:delete redundant words when trash restore failed because of same name Signed-off-by: Xiangdong Mu --- diff --git a/src/tools/rbd/action/Trash.cc b/src/tools/rbd/action/Trash.cc index 16b11b9e38d2..1b7721a59bd3 100644 --- a/src/tools/rbd/action/Trash.cc +++ b/src/tools/rbd/action/Trash.cc @@ -491,7 +491,7 @@ int execute_restore(const po::variables_map &vm, << std::endl; } else if (r == -EEXIST) { std::cerr << "rbd: error: an image with the same name already exists, " - << "try again with with a different name" + << "try again with a different name" << std::endl; } else { std::cerr << "rbd: restore error: " << cpp_strerror(r) << std::endl;