Re: [hackers] [dwm][PATCH] spawn: reduce 2 lines, change fprintf() + perror() + exit() to die("... :")

From: NRK <nrk_AT_disroot.org>
Date: Sun, 31 Jul 2022 14:50:49 +0600

On Sun, Jul 31, 2022 at 01:00:27AM +0200, Laslo Hunhold wrote:
> as far as I can tell this is not correct, given the program exits with
> EXIT_SUCCESS, not EXIT_FAILURE.

Any specific reason why this matters? If exec(3) fails, I would assume a
non-zero exit status would be more appropriate.

Though I'm not even sure if this exit status ever even comes into play
or not, since it's the exit status of the forked child and not dwm
itself.

- NRK
Received on Sun Jul 31 2022 - 10:50:49 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 31 2022 - 11:00:37 CEST