From f0b6a382ea0be4c327f9968cf5d65ac1dd8bdf4c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 20 Jan 2020 12:13:55 +0100 Subject: [PATCH] memcp: fix #83 --- clients/memcp.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; } -- 2.30.2