From 1c911fb50d285ca03e18097df5d4e2c9b56408a4 Mon Sep 17 00:00:00 2001 From: Mohd Husaam Mehdi Date: Wed, 15 Jan 2025 19:45:11 +0530 Subject: [PATCH] vsftpd: fix bug related to option conf_file * I had wrongly used config_get_bool for the option, so fixed it * this also fixes the issue of /etc/init.d/vsftpd stop not working Signed-off-by: Mohd Husaam Mehdi --- net/vsftpd/files/vsftpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vsftpd/files/vsftpd.init b/net/vsftpd/files/vsftpd.init index e905bb74d11b1..9448309bc6b28 100644 --- a/net/vsftpd/files/vsftpd.init +++ b/net/vsftpd/files/vsftpd.init @@ -141,7 +141,7 @@ start_service() { mkdir -m 0755 -p "$DEFAULT_SECURE_CHROOT" chown root:root "$DEFAULT_SECURE_CHROOT" - config_get_bool conf_file global conf_file "" + config_get conf_file global conf_file "" if [ -n "$conf_file" ]; then # use user defined conf file instead of UCI OUTPUT_CONF="$conf_file"