Blame SOURCES/0036-Redefine-VSFTP_COMMAND_FD-to-1.patch

d7fdbd
From 18e0ab25a0d66088728b506cf64f5545637eda26 Mon Sep 17 00:00:00 2001
d7fdbd
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
d7fdbd
Date: Tue, 5 Sep 2017 14:26:08 +0200
d7fdbd
Subject: [PATCH 36/59] Redefine VSFTP_COMMAND_FD to 1
d7fdbd
d7fdbd
Redefine VSFTP_COMMAND_FD to 1 (stdout) so that error messages generated
d7fdbd
during startup are picked up by systemd.
d7fdbd
d7fdbd
Resolves: rhbz#1443055
d7fdbd
---
d7fdbd
 defs.h | 2 +-
d7fdbd
 1 file changed, 1 insertion(+), 1 deletion(-)
d7fdbd
d7fdbd
diff --git a/defs.h b/defs.h
d7fdbd
index bde3232..315f0f0 100644
d7fdbd
--- a/defs.h
d7fdbd
+++ b/defs.h
d7fdbd
@@ -3,7 +3,7 @@
d7fdbd
 
d7fdbd
 #define VSFTP_DEFAULT_CONFIG    "/etc/vsftpd/vsftpd.conf"
d7fdbd
 
d7fdbd
-#define VSFTP_COMMAND_FD        0
d7fdbd
+#define VSFTP_COMMAND_FD        1
d7fdbd
 
d7fdbd
 #define VSFTP_PASSWORD_MAX      128
d7fdbd
 #define VSFTP_USERNAME_MAX      128
d7fdbd
-- 
d7fdbd
2.14.4
d7fdbd