memcp: fix #83
authorMichael Wallner <mike@php.net>
Mon, 20 Jan 2020 11:13:55 +0000 (12:13 +0100)
committerMichael Wallner <mike@php.net>
Mon, 20 Jan 2020 11:15:41 +0000 (12:15 +0100)
clients/memcp.cc

index d76faeecca8d31da36e6f23d2ebec9a3e1ea813d..d87e0cad0cb4bc1486ab60b9ef23a9f9b4f1bdc8 100644 (file)
@@ -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;
     }