Commit 9bcb4c72 9bcb4c72fbd5d9da96da87feaf705d4ed6f8f33f by Sergey Poznyakoff

Exit if execv fails (forgotten to commit)

1 parent 775c2f0c
......@@ -315,6 +315,7 @@ action_exec (FILE *tty, int line, int argc, char **argv)
fclose (tty);
execv (argv[0], argv);
syslog (LOG_ERR, "can't execute %s: %s", argv[0], strerror (errno));
exit (0);
}
}
......