summaryrefslogtreecommitdiffstats
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 0ee6dc8..fa913ac 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -275,8 +275,6 @@ main (int argc, char **argv)
275 275
276 } 276 }
277 277
278 asprintf (&output, "%s|%s", output, perf);
279
280 if (verbose > 2) 278 if (verbose > 2)
281 asprintf (&output, "%s%s", output, details); 279 asprintf (&output, "%s%s", output, details);
282 280
@@ -290,7 +288,7 @@ main (int argc, char **argv)
290 temp_list = temp_list->name_next; 288 temp_list = temp_list->name_next;
291 } 289 }
292 290
293 printf ("DISK %s%s\n", state_text (result), output); 291 printf ("DISK %s%s|%s\n", state_text (result), output, perf);
294 return result; 292 return result;
295} 293}
296 294