summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtgtraf.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 (GMT)
commit9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 (patch)
treecb5831f4c018edc441686b2fe7715eb91de4ffee /plugins/check_mrtgtraf.c
parent7f1bb2a782a008b55b0ef657ec01d7fbdb637fd4 (diff)
downloadmonitoring-plugins-9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709.tar.gz
replace "terminate" with "die" for shorter name and better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mrtgtraf.c')
-rw-r--r--plugins/check_mrtgtraf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c
index c99e421..ce9ab19 100644
--- a/plugins/check_mrtgtraf.c
+++ b/plugins/check_mrtgtraf.c
@@ -163,7 +163,7 @@ main (int argc, char **argv)
163 time (&current_time); 163 time (&current_time);
164 if (expire_minutes > 0 164 if (expire_minutes > 0
165 && (current_time - timestamp) > 165 && (current_time - timestamp) >
166 (expire_minutes * 60)) terminate (STATE_WARNING, 166 (expire_minutes * 60)) die (STATE_WARNING,
167 _("MRTG data has expired (%d minutes old)\n"), 167 _("MRTG data has expired (%d minutes old)\n"),
168 (int) ((current_time - timestamp) / 168 (int) ((current_time - timestamp) /
169 60)); 169 60));