From: Michael Wallner Date: Mon, 20 Jan 2020 11:13:55 +0000 (+0100) Subject: memcp: fix #83 X-Git-Tag: pre_cmake~35 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f0b6a382ea0be4c327f9968cf5d65ac1dd8bdf4c;p=m6w6%2Flibmemcached memcp: fix #83 --- diff --git a/clients/memcp.cc b/clients/memcp.cc index d76faeec..d87e0cad 100644 --- a/clients/memcp.cc +++ b/clients/memcp.cc @@ -184,11 +184,8 @@ int main(int argc, char *argv[]) int fd= open(argv[optind], O_RDONLY); if (fd < 0) { - if (opt_verbose) - { - std::cerr << "memcp " << argv[optind] << " " << strerror(errno) << std::endl; - optind++; - } + std::cerr << "memcp " << argv[optind] << " " << strerror(errno) << std::endl; + optind++; exit_code= EXIT_FAILURE; continue; }