Previous commit for autostart

This commit is contained in:
speediegq 2022-09-11 00:41:06 +02:00
parent 428033565a
commit a44eb615ac

View file

@ -703,9 +703,7 @@ autostart_exec() {
if ((autostart_pids[i] = fork()) == 0) {
setsid();
execvp(*p, (char *const *)p);
fprintf(stderr, "speedwm: execvp %s\n", *p);
perror(" failed");
_exit(EXIT_FAILURE);
die("speedwm: execvp %s\n", *p);
}
/* skip arguments */
while (*++p);