summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index f376e309..dc4f89ae 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -42,11 +42,6 @@ int server_port = DEFAULT_PORT;
42int warning_interval = -1; 42int warning_interval = -1;
43int critical_interval = -1; 43int critical_interval = -1;
44 44
45
46
47
48
49
50int 45int
51main (int argc, char **argv) 46main (int argc, char **argv)
52{ 47{
@@ -57,6 +52,10 @@ main (int argc, char **argv)
57 52
58 output = strdup (""); 53 output = strdup ("");
59 54
55 setlocale (LC_ALL, "");
56 bindtextdomain (PACKAGE, LOCALEDIR);
57 textdomain (PACKAGE);
58
60 /* Set signal handling and alarm */ 59 /* Set signal handling and alarm */
61 if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) 60 if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR)
62 usage (_("Cannot catch SIGALRM\n")); 61 usage (_("Cannot catch SIGALRM\n"));
@@ -280,6 +279,7 @@ print_help (void)
280 279
281 print_revision (progname, revision); 280 print_revision (progname, revision);
282 281
282 printf (_("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"));
283 printf (_(COPYRIGHT), copyright, email); 283 printf (_(COPYRIGHT), copyright, email);
284 284
285 printf (_("Test the DNS service on the specified host using dig\n\n")); 285 printf (_("Test the DNS service on the specified host using dig\n\n"));