backup: fix incorrect config dir
parent
c7b6a64345
commit
bed38d35e0
|
@ -4,7 +4,7 @@ env_dir=$1
|
|||
base_dir="$(dirname "$(realpath -s "$0")")"
|
||||
root_dir="$base_dir/../../.."
|
||||
|
||||
[[ -z $env_dir ]] && env_dir="/opt/zio/config/backup"
|
||||
[[ -z $env_dir ]] && env_dir="/opt/zio/conf/backup"
|
||||
|
||||
function restic_exec() {
|
||||
command="$1"
|
||||
|
|
Loading…
Reference in New Issue