Просмотр исходного кода

Merge branch 'maint' of https://github.com/nagios-plugins/nagios-plugins into maint

abrist 12 лет назад
Родитель
Сommit
70bfa50a05
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      plugins/check_ide_smart.c

+ 2 - 1
plugins/check_ide_smart.c

@@ -281,11 +281,12 @@ main (int argc, char *argv[])
 		smart_read_values (fd, &values);
 		smart_read_thresholds (fd, &thresholds);
 		retval = nagios (&values, &thresholds);
+		printf( _("-n, This flag is depricated, and will be removed in a future release. Nagios output is now the default.\n") );
 		break;
 	default:
 		smart_read_values (fd, &values);
 		smart_read_thresholds (fd, &thresholds);
-		print_values (&values, &thresholds);
+		retval = nagios (&values, &thresholds);
 		break;
 	}
 	close (fd);