Parcourir la source

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

abrist il y a 12 ans
Parent
commit
70bfa50a05
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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);