Fix error reading config file (ks-conf)

This commit is contained in:
q3aql 2022-01-02 19:07:06 +01:00
parent 7c0ea17a11
commit 65530e8796

View File

@ -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"