1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

use DMEVENTD_PATH

This commit is contained in:
Alasdair Kergon 2007-01-15 19:11:58 +00:00
parent c7a5306039
commit b2486b3d7d

View File

@ -341,8 +341,7 @@ static int _start_daemon(struct dm_event_fifos *fifos)
log_error("Unable to fork.");
else if (!pid) {
/* FIXME configure path (cf. lvm2 modprobe) */
execvp("dmeventd", NULL);
execvp(DMEVENTD_PATH, NULL);
exit(EXIT_FAILURE);
} else {
if (waitpid(pid, &status, 0) < 0)