git.samba.org
/
sahlberg
/
ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ctdb_fork(0 which will fork a child process and drop the real-time
[sahlberg/ctdb.git]
/
server
/
ctdb_monitor.c
diff --git
a/server/ctdb_monitor.c
b/server/ctdb_monitor.c
index 7f5da5c3377875d817519f7f50cc2cdc90ea04ab..fa642fb3fd7269a98a9267a5c58cbbf61976a86f 100644
(file)
--- a/
server/ctdb_monitor.c
+++ b/
server/ctdb_monitor.c
@@
-83,7
+83,7
@@
void ctdb_run_notification_script(struct ctdb_context *ctdb, const char *event)
return;
}
- child =
fork(
);
+ child =
ctdb_fork(ctdb
);
if (child == (pid_t)-1) {
DEBUG(DEBUG_ERR,("Failed to fork() a notification child process\n"));
return;