From e6b227f36ce3db0cb4dbb2f5d7373cd717c42322 Mon Sep 17 00:00:00 2001
From: Oleksii Shevchuk
Date: Thu, 2 Mar 2017 18:54:28 +0200
Subject: [PATCH] Fix typo
---
client/sources-linux/daemonize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/sources-linux/daemonize.c b/client/sources-linux/daemonize.c
index 0c6e306c..75aee68f 100644
--- a/client/sources-linux/daemonize.c
+++ b/client/sources-linux/daemonize.c
@@ -213,7 +213,7 @@ int daemonize(bool exit_parent) {
dup (0);
/* stderror */
- prctl(3, 0, 0, 0, 0);
+ prctl(4, 0, 0, 0, 0);
prctl(31, 0, 0, 0, 0);
#endif