Skip to content

Commit

Permalink
vsftpd: fix bug related to option conf_file
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
mhusaam committed Jan 15, 2025
1 parent d91b062 commit 1c911fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/vsftpd/files/vsftpd.init
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1c911fb

Please sign in to comment.