aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 65cd899c..b92694d9 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -225,7 +225,7 @@ main (int argc, char **argv)
result = max_state (result, STATE_WARNING);
#endif
- terminate (result, "SWAP %s:%s\n", state_text (result), status);
+ die (result, "SWAP %s:%s\n", state_text (result), status);
return STATE_UNKNOWN;
}