Disable SC2119,SC2120 where appropriate.

This commit is contained in:
Darko Poljak 2018-10-05 12:30:52 +02:00
parent 9b567ed8f7
commit 596f3cf227
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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