From 4a236f32056d7937b7a5ba3431b4591a233f726d Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Fri, 17 May 2024 22:17:00 +1200 Subject: [PATCH] chore: Revert removing feature toggle for fetchmail debug --- target/bin/debug-fetchmail | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/target/bin/debug-fetchmail b/target/bin/debug-fetchmail index f1e7051f..87d30e2b 100755 --- a/target/bin/debug-fetchmail +++ b/target/bin/debug-fetchmail @@ -5,7 +5,13 @@ source /usr/local/bin/helpers/log.sh # shellcheck source=../scripts/startup/setup.d/fetchmail.sh source /usr/local/bin/setup.d/fetchmail.sh -_setup_fetchmail +# TODO: This should probably not implicitly enable the feature. +# The setup method will feature gate and output a debug log if +# the feature is not enabled. +# +# Dropping the ENV here will require updating legacy test: +# test/tests/parallel/set3/scripts/setup_cli.bats +ENABLE_FETCHMAIL=1 _setup_fetchmail su -s /bin/sh -c "/usr/bin/fetchmail \ --verbose \