Measuring light-induced fungal ethylene production enables non-destructive diagnosis of disease occurrence in harvested fruits.