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})"