Fix for issue #199
This commit is contained in:
@@ -114,9 +114,8 @@ function read_kiauh_ini() {
|
|||||||
local func=${1}
|
local func=${1}
|
||||||
|
|
||||||
if [[ ! -f ${INI_FILE} ]]; then
|
if [[ ! -f ${INI_FILE} ]]; then
|
||||||
print_error "ERROR: File '~/.kiauh.ini' not found!"
|
log_warning "Reading from .kiauh.ini failed! File not found! Creating default ini file."
|
||||||
log_error "Reading from .kiauh.ini failed! File not found!"
|
init_ini
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_info "Reading from .kiauh.ini ... (${func})"
|
log_info "Reading from .kiauh.ini ... (${func})"
|
||||||
|
|||||||
Reference in New Issue
Block a user