From c1b54dbd20b88db1fd9fb588f498f1da62c7deb9 Mon Sep 17 00:00:00 2001 From: Yeriwyn Date: Tue, 24 May 2022 21:10:24 -0400 Subject: [PATCH] Fix for issue #199 --- scripts/utilities.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/utilities.sh b/scripts/utilities.sh index 0cf4bd6..f2dd609 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -114,9 +114,8 @@ function read_kiauh_ini() { local func=${1} if [[ ! -f ${INI_FILE} ]]; then - print_error "ERROR: File '~/.kiauh.ini' not found!" - log_error "Reading from .kiauh.ini failed! File not found!" - return 1 + log_warning "Reading from .kiauh.ini failed! File not found! Creating default ini file." + init_ini fi log_info "Reading from .kiauh.ini ... (${func})" -- 2.39.5