diff options
Diffstat (limited to 'plugins/check_nagios.c')
| -rw-r--r-- | plugins/check_nagios.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index a2debe21..954ff711 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | * License: GPL | 5 | * License: GPL |
| 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team |
| 7 | * | 7 | * |
| 8 | * Last Modified: $Date$ | ||
| 9 | * | ||
| 10 | * Description: | 8 | * Description: |
| 11 | * | 9 | * |
| 12 | * This file contains the check_nagios plugin | 10 | * This file contains the check_nagios plugin |
| @@ -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_nagios"; | 35 | const char *progname = "check_nagios"; |
| 39 | const char *revision = "$Revision$"; | ||
| 40 | const char *copyright = "1999-2007"; | 36 | const char *copyright = "1999-2007"; |
| 41 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 42 | 38 | ||
| @@ -240,7 +236,7 @@ process_arguments (int argc, char **argv) | |||
| 240 | print_help (); | 236 | print_help (); |
| 241 | exit (STATE_OK); | 237 | exit (STATE_OK); |
| 242 | case 'V': /* version */ | 238 | case 'V': /* version */ |
| 243 | print_revision (progname, revision); | 239 | print_revision (progname, NP_VERSION); |
| 244 | exit (STATE_OK); | 240 | exit (STATE_OK); |
| 245 | case 'F': /* status log */ | 241 | case 'F': /* status log */ |
| 246 | status_log = optarg; | 242 | status_log = optarg; |
| @@ -278,7 +274,7 @@ process_arguments (int argc, char **argv) | |||
| 278 | void | 274 | void |
| 279 | print_help (void) | 275 | print_help (void) |
| 280 | { | 276 | { |
| 281 | print_revision (progname, revision); | 277 | print_revision (progname, NP_VERSION); |
| 282 | 278 | ||
| 283 | printf (_(COPYRIGHT), copyright, email); | 279 | printf (_(COPYRIGHT), copyright, email); |
| 284 | 280 | ||
