Fix import file without absolute path

This commit is contained in:
q3aql 2022-06-24 14:07:37 +02:00
parent ca1c2b567e
commit bce13fc1b6
2 changed files with 0 additions and 2 deletions

View File

@ -485,7 +485,6 @@ function import_pwsh_vault() {
}
function import_pwsh_vault_param() {
cd ${pwsh_vault}
if [ -f "${1}" ] ; then
echo "# Importing vault from zip file"
unzip -o "${1}" -d ${pwsh_vault}

View File

@ -516,7 +516,6 @@ function import_pwsh_vault() {
}
function import_pwsh_vault_param() {
cd ${pwsh_vault}
if [ -f "${1}" ] ; then
echo "# Importing vault from zip file"
unzip -o "${1}" -d ${pwsh_vault}