From 65530e87967a4ef3598fc3b789ce644220dde2f2 Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 2 Jan 2022 19:07:06 +0100 Subject: [PATCH] Fix error reading config file (ks-conf) --- src/ks-conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ks-conf b/src/ks-conf index 1fda565..5e85902 100755 --- a/src/ks-conf +++ b/src/ks-conf @@ -707,8 +707,8 @@ while [ ${show_menu} -eq 0 ] ; do source ${HOME}/.ks-tools/ks-oga echo " o - Edit ks-oga/ks-oga-album config (${acodec}/${b_acodec}/${default_lang_audio})" echo "" - user_config=$(cat /home/q3aql/.ks-tools/USER) - server_config=$(cat /home/q3aql/.ks-tools/SERVER) + user_config=$(cat ${HOME}/.ks-tools/USER 2> /dev/null) + server_config=$(cat ${HOME}/.ks-tools/SERVER 2> /dev/null) echo " u - Edit ks-upv/ks-upa/ks-upf/ks-upr config (${user_config}/${server_config})" echo "" echo " q - Exit"