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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# shellcheck disable=SC2120
|
||||||
deleteJail() {
|
deleteJail() {
|
||||||
# Unmount the jail's mountpoints if necessary
|
# Unmount the jail's mountpoints if necessary
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
@ -347,6 +348,7 @@ if [ "$present" = "EXISTS" ]; then # The jail currently exists
|
||||||
exit 0
|
exit 0
|
||||||
else # The jail is not supposed to exist
|
else # The jail is not supposed to exist
|
||||||
stopJail
|
stopJail
|
||||||
|
# shellcheck disable=SC2119
|
||||||
deleteJail
|
deleteJail
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -116,6 +116,7 @@ startJail() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# shellcheck disable=SC2120
|
||||||
deleteJail() {
|
deleteJail() {
|
||||||
# Unmount the jail's mountpoints if necessary
|
# Unmount the jail's mountpoints if necessary
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
@ -342,6 +343,7 @@ if [ "$present" = "EXISTS" ]; then # The jail currently exists
|
||||||
exit 0
|
exit 0
|
||||||
else # The jail is not supposed to exist
|
else # The jail is not supposed to exist
|
||||||
stopJail
|
stopJail
|
||||||
|
# shellcheck disable=SC2119
|
||||||
deleteJail
|
deleteJail
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue