1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/daemons/dmeventd
Mikulas Patocka 71cb54406a Don't kill the parent if debugging.
If dmeventd runs with -d flag, it doesn't fork into backgroud.
The command kill(getppid(), SIGTERM) attempts to kill the parent dmeventd
process, however, if there is no parent, it kills whatever process spawned
dmeventd. In case of debugging with gdb, the parent is gdb, thus
kill(getppid(), SIGTERM) kills the debugger.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2010-03-31 12:01:49 +00:00
..
plugins Updated syslog messages 2010-03-30 14:39:55 +00:00
.exported_symbols Add dm_event_handler_[gs]et_timeout functions. 2007-01-22 15:03:57 +00:00
dmeventd.c Don't kill the parent if debugging. 2010-03-31 12:01:49 +00:00
dmeventd.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-21 16:26:07 +00:00
libdevmapper-event.c Move declaration of struct dm_info info to declaration block. 2010-03-24 11:36:48 +00:00
libdevmapper-event.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-21 16:26:07 +00:00
libdevmapper-event.pc.in Fix libdevmapper-event pkgconfig version string to match libdevmapper. 2010-03-19 18:33:55 +00:00
Makefile.in Fixing another set of distclean problems where we left some generated files 2010-03-29 14:17:59 +00:00