From 4f38cdc0f49794f4a472dfc16fd310e20af307c3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Jan 2024 16:21:58 -0700 Subject: [PATCH] Fix CONFIG_FILE assignment in set_config and get_config functions --- lib/armbian-configng/set_get_system.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/armbian-configng/set_get_system.sh b/lib/armbian-configng/set_get_system.sh index 4dd95d11c..c93e29dd2 100644 --- a/lib/armbian-configng/set_get_system.sh +++ b/lib/armbian-configng/set_get_system.sh @@ -1,7 +1,7 @@ #!/bin/bash function set_config() { - CONFIG_FILE="/etc/armbian/configng.sh" + CONFIG_FILE="/etc/armbian/configng.sh" || echo "No CONFIG_FILE" echo "Creating $CONFIG_FILE with example key pair." @@ -14,8 +14,7 @@ function set_config() { } function get_config() { - CONFIG_FILE="/etc/armbian/configng.sh" - + CONFIG_FILE="/etc/armbian/configng.sh" || echo "No CONFIG_FILE" if [[ -f "$CONFIG_FILE" ]]; then echo "System Checks."