mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Shellcheck Compliance
scripts/bacup.sh * Fixes SC2154: install_home is referenced but not assigned. * Disabled error as this variable is sourced from setupVars file
This commit is contained in:
parent
1fa467d9fd
commit
0de5656208
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ source "${setupVars}"
|
||||||
|
|
||||||
checkbackupdir(){
|
checkbackupdir(){
|
||||||
|
|
||||||
|
# Disabling shellcheck error $install_home sourced from $setupVars
|
||||||
|
# shellcheck disable=SC2154
|
||||||
if [[ ! -d $install_home/$backupdir ]]; then
|
if [[ ! -d $install_home/$backupdir ]]; then
|
||||||
mkdir -p "$install_home"/"$backupdir"
|
mkdir -p "$install_home"/"$backupdir"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue