diff options
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r-- | plugins/check_ups.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index a498d203..7311ca23 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -8,8 +8,6 @@ | |||
8 | * 2004 Arnaud Quette <arnaud.quette@mgeups.com> | 8 | * 2004 Arnaud Quette <arnaud.quette@mgeups.com> |
9 | * Copyright (c) 2002-2007 Nagios Plugins Development Team | 9 | * Copyright (c) 2002-2007 Nagios Plugins Development Team |
10 | * | 10 | * |
11 | * Last Modified: $Date$ | ||
12 | * | ||
13 | * Description: | 11 | * Description: |
14 | * | 12 | * |
15 | * This file contains Network UPS Tools plugin for Nagios | 13 | * This file contains Network UPS Tools plugin for Nagios |
@@ -31,12 +29,10 @@ | |||
31 | * You should have received a copy of the GNU General Public License | 29 | * You should have received a copy of the GNU General Public License |
32 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 30 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
33 | * | 31 | * |
34 | * $Id$ | ||
35 | * | 32 | * |
36 | *****************************************************************************/ | 33 | *****************************************************************************/ |
37 | 34 | ||
38 | const char *progname = "check_ups"; | 35 | const char *progname = "check_ups"; |
39 | const char *revision = "$Revision$"; | ||
40 | const char *copyright = "2000-2007"; | 36 | const char *copyright = "2000-2007"; |
41 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
42 | 38 | ||
@@ -561,7 +557,7 @@ process_arguments (int argc, char **argv) | |||
561 | } | 557 | } |
562 | break; | 558 | break; |
563 | case 'V': /* version */ | 559 | case 'V': /* version */ |
564 | print_revision (progname, revision); | 560 | print_revision (progname, NP_VERSION); |
565 | exit (STATE_OK); | 561 | exit (STATE_OK); |
566 | case 'h': /* help */ | 562 | case 'h': /* help */ |
567 | print_help (); | 563 | print_help (); |
@@ -601,7 +597,7 @@ print_help (void) | |||
601 | char *myport; | 597 | char *myport; |
602 | asprintf (&myport, "%d", PORT); | 598 | asprintf (&myport, "%d", PORT); |
603 | 599 | ||
604 | print_revision (progname, revision); | 600 | print_revision (progname, NP_VERSION); |
605 | 601 | ||
606 | printf ("Copyright (c) 2000 Tom Shields\n"); | 602 | printf ("Copyright (c) 2000 Tom Shields\n"); |
607 | printf ("Copyright (c) 2004 Alain Richard <alain.richard@equation.fr>\n"); | 603 | printf ("Copyright (c) 2004 Alain Richard <alain.richard@equation.fr>\n"); |