On Tue, Apr 30, 2024 at 07:45:41AM +0200, Evgeni Golov wrote: > On Mon, Apr 29, 2024 at 08:35:28PM +0200, Evgeni Golov wrote: > > UNKNOWN Exception: [Errno 2] No such file or directory: <some map file> > > > > This is because the process might have already ended between calling > > os.listdir() and os.stat(). > > Turns out, os.path.realpath() also can raise FileNotFoundError. > > Updated patch attached.
And one more place that can yield an error. Yay. See https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/merge_requests/9/