aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 0ee6dc87..fa913ac7 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -275,8 +275,6 @@ main (int argc, char **argv)
}
- asprintf (&output, "%s|%s", output, perf);
-
if (verbose > 2)
asprintf (&output, "%s%s", output, details);
@@ -290,7 +288,7 @@ main (int argc, char **argv)
temp_list = temp_list->name_next;
}
- printf ("DISK %s%s\n", state_text (result), output);
+ printf ("DISK %s%s|%s\n", state_text (result), output, perf);
return result;
}