Skip to content

drivers/main.c: move "-d" CLI option handling also to start of program #2408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Apr 17, 2024

Fallout of #2259 / PR #2260 (regression in NUT v2.8.2 release, not a default code path and can be worked around with explicit -F/-B CLI options, though - so not extremely critical)

Thanks to @ericclappier-eaton @arnaudquette-eaton @FrancoisRegisDegott-eaton and 42ITy team.

…m [fallout of networkupstools#2259]

We consult the value of `dump_data` to decide about foreground mode,
but after moving the `-D` option handling (and this decision) upwards
to facilitate early debugging, the variable is never modified in time
anymore.

Thanks for the catch to Eric Clappier and IPM/42ity team.

Signed-off-by: Jim Klimov <[email protected]>
@jimklimov jimklimov added bug service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) labels Apr 17, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone Apr 17, 2024
@jimklimov jimklimov merged commit e2ccc35 into networkupstools:master Apr 18, 2024
30 checks passed
@jimklimov jimklimov deleted the driver-dump branch April 18, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants