29897df2af
Signed-off-by: Tomas Hozza <thozza@redhat.com>
16 lines
508 B
Diff
16 lines
508 B
Diff
diff -up ./hv_fcopy_daemon.c.daemon_fcopy ./hv_fcopy_daemon.c
|
|
--- ./hv_fcopy_daemon.c.daemon_fcopy 2014-02-19 09:55:20.689982023 +0100
|
|
+++ ./hv_fcopy_daemon.c 2014-02-19 09:55:36.700982923 +0100
|
|
@@ -131,11 +131,6 @@ int main(void)
|
|
char *buffer[4096 * 2];
|
|
struct hv_fcopy_hdr *in_msg;
|
|
|
|
- if (daemon(1, 0)) {
|
|
- syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno));
|
|
- exit(EXIT_FAILURE);
|
|
- }
|
|
-
|
|
openlog("HV_FCOPY", 0, LOG_USER);
|
|
syslog(LOG_INFO, "HV_FCOPY starting; pid is:%d", getpid());
|
|
|