diff options
-rw-r--r-- | tools/hv/hv_kvp_daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index 657c1d27e02e..418ac5548f98 100644 --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c | |||
@@ -1439,7 +1439,8 @@ int main(void) | |||
1439 | char *kvp_recv_buffer; | 1439 | char *kvp_recv_buffer; |
1440 | size_t kvp_recv_buffer_len; | 1440 | size_t kvp_recv_buffer_len; |
1441 | 1441 | ||
1442 | daemon(1, 0); | 1442 | if (daemon(1, 0)) |
1443 | return 1; | ||
1443 | openlog("KVP", 0, LOG_USER); | 1444 | openlog("KVP", 0, LOG_USER); |
1444 | syslog(LOG_INFO, "KVP starting; pid is:%d", getpid()); | 1445 | syslog(LOG_INFO, "KVP starting; pid is:%d", getpid()); |
1445 | 1446 | ||