Yes, that is understandable and suggests "no need to panic".

> On Sat, 26 Nov 2022 11:09:58 -0700, "Theo de Raadt" wrote:
> 
> > But "Resource temporarily unavailable" has absolutely no meaning to
> > anyone who will try to do this by hand, it is better for the message
> > to interpret the situation so that someone can understand.
> 
> Agreed, it would be friendlier to fo something like:
> 
>       if (lockfd == -1) {
>               if (errno == EAGAIN)
>                       errx(1, "already running");
>               err(1, "%s", _PATH_LOCKFILE);
>       }
> 
>  - todd

Reply via email to