2
0
Fork 0

helpers (bash): fix overridable prefix dir not containing "zio" folder

main
Ducky 2023-08-22 00:41:09 +01:00
parent 5dc53f1963
commit 5e28e29f6f
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ function die() {
function get_config_dir() {
prog="$(echo $1 | sed -e "s/sh.zio.//g")"
prefix="/etc/zio"
prefix_dir="/etc/zio"
if [[ -n "$2" ]]; then
prefix="$2"
prefix_dir="$2/zio"
fi
config_dir=""