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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4f85635e38cfdebe6c211b1e70a2d1042d8a83f5;p=ceph-ci.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 16b11b9e38d..1b7721a59bd 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;