On Fri, 29 Jul 2022 18:26:04 -0500
explosion0men...@gmail.com wrote:

Dear explosion0mental,

> when calling die and the last character of the string corresponds to
> ':', die() will call perror(). See util.c
> 
> Cuz muh lines of code!1

> -             fprintf(stderr, "dwm: execvp %s", ((char
> **)arg->v)[0]);
> -             perror(" failed");
> -             exit(EXIT_SUCCESS);
> +             die("dwm: execvp '%s' failed:", ((char

as far as I can tell this is not correct, given the program exits with
EXIT_SUCCESS, not EXIT_FAILURE.

With best regards

Laslo

Reply via email to