Disable SC2119,SC2120 where appropriate.
This commit is contained in:
parent
9b567ed8f7
commit
596f3cf227
2 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,7 @@ startJail() {
|
|||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2120
|
||||
deleteJail() {
|
||||
# Unmount the jail's mountpoints if necessary
|
||||
cat <<EOF
|
||||
|
@ -347,6 +348,7 @@ if [ "$present" = "EXISTS" ]; then # The jail currently exists
|
|||
exit 0
|
||||
else # The jail is not supposed to exist
|
||||
stopJail
|
||||
# shellcheck disable=SC2119
|
||||
deleteJail
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
@ -116,6 +116,7 @@ startJail() {
|
|||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2120
|
||||
deleteJail() {
|
||||
# Unmount the jail's mountpoints if necessary
|
||||
cat <<EOF
|
||||
|
@ -342,6 +343,7 @@ if [ "$present" = "EXISTS" ]; then # The jail currently exists
|
|||
exit 0
|
||||
else # The jail is not supposed to exist
|
||||
stopJail
|
||||
# shellcheck disable=SC2119
|
||||
deleteJail
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue