]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - cmd/splat.c
Merge tag 'upstream/0.6.2'
[mirror_spl-debian.git] / cmd / splat.c
index 2fa0c50c06e6c2082357ba496c6922772687d972..92962393dd0bd9f1c5a177b3f3cd48031789b8d4 100644 (file)
@@ -6,7 +6,7 @@
  *  UCRL-CODE-235197
  *
  *  This file is part of the SPL, Solaris Porting Layer.
- *  For details, see <http://github.com/behlendorf/spl/>.
+ *  For details, see <http://zfsonlinux.org/>.
  *
  *  The SPL is free software; you can redistribute it and/or modify it
  *  under the terms of the GNU General Public License as published by the
@@ -431,7 +431,8 @@ static int test_run(cmd_args_t *args, test_t *test)
        fflush(stdout);
        free(cmd);
 
-       if (args->args_verbose) {
+       if ((args->args_verbose == 1 && rc) ||
+           (args->args_verbose >= 2)) {
                if ((rc = read(splatctl_fd, splat_buffer,
                               splat_buffer_size - 1)) < 0) {
                        fprintf(stdout, "Error reading results: %d\n", rc);