diff options
Diffstat (limited to 'plugins/check_swap.c')
| -rw-r--r-- | plugins/check_swap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index dbf53a00..3d7e3260 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
| @@ -100,6 +100,9 @@ int main(int argc, char **argv) { | |||
| 100 | 100 | ||
| 101 | double percent_used; | 101 | double percent_used; |
| 102 | mp_check overall = mp_check_init(); | 102 | mp_check overall = mp_check_init(); |
| 103 | |||
| 104 | mp_set_ok_summary(&overall, "Swap check is OK"); | ||
| 105 | |||
| 103 | if (config.output_format_is_set) { | 106 | if (config.output_format_is_set) { |
| 104 | mp_set_format(config.output_format); | 107 | mp_set_format(config.output_format); |
| 105 | } | 108 | } |
