Răsfoiți Sursa

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

abrist 12 ani în urmă
părinte
comite
70bfa50a05
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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);