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

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