1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

Do not fork daemon when dmeventd cannot be found.

This commit is contained in:
Milan Broz 2009-06-15 12:29:41 +00:00
parent 8bc510ba12
commit 01fb9ca9a0
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.33 -
===============================
Do not fork daemon when dmeventd cannot be found.
Add crypt target handling to libdevmapper node.
Add splitname command to dmsetup.
Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.

View File

@ -425,6 +425,12 @@ static int _start_daemon(struct dm_event_fifos *fifos)
start_server:
/* server is not running */
if (!strncmp(DMEVENTD_PATH, "/", 1) && stat(DMEVENTD_PATH, &statbuf)) {
log_error("Unable to find dmeventd.");
return_0;
}
pid = fork();
if (pid < 0)