]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd:delete redundant words when trash restore failed because of same name 30952/head
authorXiangdong Mu <muxiangdong@inspur.com>
Wed, 16 Oct 2019 06:27:21 +0000 (14:27 +0800)
committerXiangdong Mu <muxiangdong@inspur.com>
Wed, 16 Oct 2019 06:27:21 +0000 (14:27 +0800)
Signed-off-by: Xiangdong Mu <muxiangdong@inspur.com>
src/tools/rbd/action/Trash.cc

index 16b11b9e38d23199a8a2b730fcc44f6911b840f8..1b7721a59bd3d3d148c00af975b64870cf3d6ad3 100644 (file)
@@ -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;