Skip to content

Commit 8b4c344

Browse files
author
John Smith III
committed
Fixed: Initialization of config uses old config for new settings file
1 parent 80f1438 commit 8b4c344

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- none
1111

12+
## [1.2.2] - 2024-11-27
13+
14+
### Fixed
15+
16+
- Initialization of config uses old config for new settings file
17+
1218
## [1.2.1] - 2024-11-26
1319

1420
### Changed

noirnet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
# App version and name
88
APP_NAME="NoirNet"
9-
VERSION=1.2.1
10-
LAST_UPDATED="2024-11-26"
9+
VERSION=1.2.2
10+
LAST_UPDATED="2024-11-27"
1111

1212
# TODO:
1313
# - Add more notification methods (email, slack, discord, etc.)
@@ -1047,7 +1047,7 @@ process_arguments() {
10471047
[[ "$SHOW_HELP" = true ]] && show_help
10481048

10491049
# Override config settings with command line options
1050-
load_config "$CONFIG_FILE"
1050+
[[ "$INIT" = false ]] && load_config "$CONFIG_FILE"
10511051
[[ -n "$CLI_VERBOSE" ]] && VERBOSE="$CLI_VERBOSE"
10521052
[[ -n "$CLI_CACHE_DIR" ]] && CACHE_DIR="$CLI_CACHE_DIR"
10531053

noirnet.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH NOIRNET 1 "November 26, 2024" "Version 1.2.1" "User Commands"
1+
.TH NOIRNET 1 "November 27, 2024" "Version 1.2.2" "User Commands"
22
.SH NAME
33
NoirNet \- Monitors internet and DNS access and sends notifications.
44

0 commit comments

Comments
 (0)