mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Do not fork daemon when dmeventd cannot be found.
This commit is contained in:
parent
8bc510ba12
commit
01fb9ca9a0
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user