diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 7c56e5dc3d7207d4199b4a64872b6f1bb950aeb3..7ad950a4a9513e6313f89a4d3e63b79b876c0be3 100644 (file)
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
* $Id$
*****************************************************************************/
+const char *progname = "check_hpjd";
+const char *revision = "$Revision$";
+const char *copyright = "2000-2004";
+const char *email = "nagiosplug-devel@lists.sourceforge.net";
+
#include "common.h"
#include "popen.h"
#include "utils.h"
#define DEFAULT_COMMUNITY "public"
-const char *progname = "check_hpjd";
-const char *revision = "$Revision$";
-const char *copyright = "2000-2003";
-const char *email = "nagiosplug-devel@lists.sourceforge.net";
const char *option_summary = "-H host [-C community]\n";
main (int argc, char **argv)
{
char command_line[1024];
- int result;
+ int result = STATE_UNKNOWN;
int line;
char input_buffer[MAX_INPUT_BUFFER];
char query_string[512];
textdomain (PACKAGE);
if (process_arguments (argc, argv) != TRUE)
- usage4 (_("Could not parse arguments\n"));
+ usage4 (_("Could not parse arguments"));
/* removed ' 2>1' at end of command 10/27/1999 - EG */
/* create the query string */